contional logic

19 June, 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
19 June, 2024 08:41:51
E2Pdf
Support
Topics: 7
Messages: 3345
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!
19 June, 2024 10:23:57
Scala
Topics: 2
Messages: 5
your response is perfect
thank u very much :-)