Conditional Logic allows you to show or hide a field (or entire section) based on what the user selects for another field on a form.
For example, you might have a field asking users "How would you rate the service we offered?" If a user selects Poor, you might want to display an additional field for comments so the user can enter details on his or her experience.
Adding Logic to Your Field
To use Conditional Logic, click on a field within the form builder to edit it. This is the field you will show or hide based on choices made in previous fields.
Click the chevron next to Logic and then click the button "+ Add Logic." From here, you can add Logic to your form.
Creating Your Logic Rule
First, choose whether you want to hide or show the field depending on the logic.
Next, add the field on your form that you want to determine the criteria. In this example, we want to show our field when a customer chooses Poor in the Dropdown List field that asks them how they would rate their service.
We also want this field to display if a Customer chooses Good. To add additional criteria, click the + Add Another button.
Since customers can only choose one option, we want to make sure we change our criteria to show when Any of the following rules match. This creates an either/or situation.
Each of the rules you set up must be based on a Date/Time, Dropdown List, Checkbox, Number, Event, or Radio Button field. Select the field you want to view and its respective option. You can add or delete criteria by clicking on the plus and minus icons.
NOTE: As stated above, your form MUST contain a field with options or a Number field in order for you to use the Conditional Logic feature.
Determining if a Field Has Logic
The field that has logic applied will display a purple LOGIC symbol telling you that the field has conditional logic applied to it.
Conditional Logic for Sections
Just as you can use Conditional Logic for fields, you can also use this feature for entire sections on forms. This is perfect for long forms that may have multiple sections that all users do not need to fill out. You do not need to apply logic to every field inside of a section, just the section itself because any logic applied to a section will also be applied to all fields within that section.
For more information on how to build this out, check out this article here.
NOTE: On Multi-Page Forms, we do not recommend using logic on a section that is set to "Start a New Page." If the conditions are not met for this section to show, the entire page will be hidden, including other sections that would be on the same page. In this way succeeding fields and sections "inherit" the logic of the section starting the page. If the top section on a page must be hidden by logic, we recommend adding a blank section above it (with no logic applied to it) that will "Start a New Page" instead.
Conditional Logic may be deleted or edited at any time. To access the logic to make changes, go into your form > click on the field carrying the logic > click the chevron next to Logic and then click the red circle with a white line to remove any logic.
Infographic: Inherited Logic Explained
Conditional Logic Tips
Video: Section Conditional Logic
Conditional Logic with Number Fields
How to Show/Hide Multiple Sections Using Conditional Logic
Date/Time Field Logic