HTML object condition

WordPress Released
March 31, 2020 11:45:36
Damian
Topics: 2
Messages: 10
Hello,

Anyone maybe have idea how to display green arrow(attachments) if meta value is not empty?

Regards, Damian
March 31, 2020 12:18:54
E2Pdf
Topics: 7
Messages: 3614
Support
Hi,

Do you output "wspomoganie kierownicy" in separated PDF field/object? Or it used as merged value?

If it's just 1 field you can add image and hide it if [meta key="test"] is empty. (screenshot attached).

If not, can you please attach screenshot of your "value" of PDF field/object via "Right" mouse click -> "Properties"?

We remain at your service.

We would really appreciate your feedback at WordPress.org!
March 31, 2020 12:26:17
Damian
Topics: 2
Messages: 10
Hello. Thank you for answer. :)!

Hmm.

I use HTML object and here alot of values because i use meta ACF Repeater.
March 31, 2020 13:00:04
E2Pdf
Topics: 7
Messages: 3614
Support
Unfortunately it's not yet possible, "Conditional Logic" inside "value" is still under development.

We expect update in nearest 2 days with some bug fixes and will check if we can add some "filter" to have possibility to accomplish your task. As soon as we will have some news, we will update this thread.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
March 31, 2020 13:06:23
Damian
Topics: 2
Messages: 10
Thank you!
April 06, 2020 09:23:13
E2Pdf
Topics: 7
Messages: 3614
Support
Hi,

We just released an update (1.10.08) with additional "filter" (e2pdf_model_shortcode_e2pdf_wp_response) to modify wordpress shortcode output.

Example of using it can be found by link: https://codeshare.io/50O0XD.

It will process add image to each shortcode which starts with "car_comfort_". You can also use custom attribute to wp shortcodes and depending if attribute exists process conditions to speed up.

Code must be added to your theme functions.php. Let us know please if it will be any issues using it. Thank you.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
April 07, 2020 16:44:58
Damian
Topics: 2
Messages: 10
Hello!

Work perfect! But how to add more field's? As in screenshot?
April 07, 2020 17:04:52
E2Pdf
Topics: 7
Messages: 3614
Support
All is correct except 0, 12 in additional code.

For car_security_ it must be 0, 13
For car_body_ it must be 0, 9

The number at the end means the number of characters to compare.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
April 07, 2020 18:23:22
Damian
Topics: 2
Messages: 10
Okey. Now work. :)

Thank you so much for this update.

I will be use still your plugin.

Perfect support.
Get News and Updates
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
* You can update your email subscription preferences here.
All trademarks, service marks, trade names, product names, and logos appearing on this website are the property of their respective owners. The use of trademarks such as Formidable Forms®, Forminator Forms®, Gravity Forms®, JetFormBuilder®, WordPress®, WooCommerce®, WPForms® and others is solely for identification purposes (nominative use) and does not imply any affiliation, sponsorship, or endorsement by the respective trademark holders.
© 2017 - 2026, https://e2pdf.com

We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. By clicking "Accept Selected", you consent to use of selected cookies according to our Cookie Policy.