Page actions conditionals

July 02, 2024 12:49:15
Ogia
Topics: 1
Messages: 2
I'm trying to figure out the proper syntax to use for the conditionals on these page actions

I have 2 different scenarios, but I've started with this one:

With formidable forms, the user is presented with a radio option to choose landscape or portrait orientation.

Within the template I have two pages. One has landscape orientation and one has portrait. I attempted to set page actions on each to show or hide the page.

The ID of the field is "56" and the values are "landscape" and "portrait". Please confirm what I'm supposed to put in the fields.

The second scenario will be similar except the radio options with allow to user to choose a font. I haven't tried that yet but if you can share the appropriate syntax for that as well I'd appreciate it.
July 02, 2024 13:01:34
E2Pdf
Topics: 7
Messages: 3614
Support
Hello,

For Show / Hide pages - the setup should be as on the screenshot attached, however, depending on your field setup, instead of [56], it can be [56 show="value"]. To be sure which value to use you can create a temporary "textarea" field with that mapped values and see how they are rendering.

As for the 2nd option, if you need to change the global font - unfortunately there is no yet possibility to change it via "Actions" and "Conditions". The change is currently available only for each field via "Change Property" actions. We will check if we can add global actions for global property changes.


We would really appreciate your feedback at WordPress.org!
July 03, 2024 10:52:03
Ogia
Topics: 1
Messages: 2
Thanks for the pointers! I found the problem. [56] was rendering the code to display the image for the radio button selection and [56 show="value"] gave me the desired result.

As for the font, I have the font set up for each element so that should work just fine. I'll know now to use the show="value" syntax.
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.