Messenger Icon
Special Black Friday and Cyber Monday deal: 30% off for all Piotnet plugins
HIDE

Conditional Logic

Repeater Fields Multi Level Nested

Conditional Logic: If Acceptance checked, the Section Repeater bellow will be shown
$
Total $
$
Total $
Total $
Test with Card number 4242 4242 4242 4242 - 04 / 24 - 242 - 42424
Paypal account: piotnetbuyer@piotnet.com - Password: tU-HvzCr25#9n+x

 

Piotnet Forms Conditional Logic helps you to set your form’s activties based on conditions. Due to actual conditions, your fields, submit button, section or any widget could be show, hide or have different values.

For example: If you want to show Food Select Fields if Order box has been checked:

First, Create a simple form as the image below.

Next, Edit Food Select Field > Settings Tab > Conditional Logic.

 

Conditional Logic.docx 1

 

Click Enable to get start. And, click Add Item to add conditions.

 

Conditional

 

In Conditional Logic List:

  • Action: set Show this Field or Set value;
  • If: put shortcode of the field which you want to apply condition;
  • Comparison Operators: there are options for you such as not empty, empty, equals, not equals, >, >=,<,<=, checked, unchecked or contains;
  • OR, AND Operators: set relation between conditions.

Don’t forget to click Save.

 

Conditional Logic for Sections:

Edit Section > Advance Tab > Conditional Logic > Click Enable:

 

Conditional Logic7.docx

 

Instead of using shortcode, you will add Field ID in If box:

 

Conditional

 

A view of the form:

 

Conditional Logic4.docx 1

 

Finally, checked Order box, Food Select field and Section will appear:

 

Conditional Logic5.docx 1

 

Above is just a simple example. Use conditional logic allow you to perform many complicated forms for your needs.