contional logic

June 19, 2024 06:55:28
Scala
Topics: 2
Messages: 5
Hello, I would like to use conditional logic:
What should be written so that:
If it is chosen for {field_id="1"} = No
+
If it is chosen for {field_id="2"} = Yes
SO
{field_id="3"} will be checked automatically

see printscreen

thanks
Yann
June 19, 2024 08:41:51
E2Pdf
Topics: 7
Messages: 3614
Support
Hello,

If {field id="1"} and {field id="2"} are radio buttons or selects, and you need to check a custom checkbox, the setup will look like on the screenshot attached.

P.S. To be sure that you are comparing with correct values, we recommend using "textarea" to debug which values are printed by {field id="1"} and {field id="2"} field slugs.

We would really appreciate your feedback at WordPress.org!
June 19, 2024 10:23:57
Scala
Topics: 2
Messages: 5
your response is perfect
thank u very much :-)
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.