Field Logic allows you to hide or show fields depending on a previous selection. In this article, we'll be walking through how to set up, configure and how to use logic to its fullest.
How to enable Field Logic
To enable Logic, your form needs to have a single or multiple of the following fields present:
- Single Choice
- Multiple Choice
After adding one or more of these fields on your form, you will be able to configure one or multiple Field Logic on your form.
A quick introduction to the Field Logic interface
The Field Logic interface allows you to configure settings on when to trigger the logic.
The screenshot underneath highlights all of the options you can enable per field.
The sentence displayed at the top reads out what the logic on this field will trigger.
Show / Hide this field when All / Any of the following logic matches:
Inserting additional logic rules will allow you to make the Logic as complex or simple as you want. You can show or hide fields depending on as many logic rules as you would like.
Creating a simple Field Logic configuration
Select the field that you would like to hide or show with your logic. Clicking "Enable Logic on this field" to access the Logic setup.
In this example, we have selected the short answer field "Why is your cat your spirit animal?" as we want it to show when the respondent has selected the "Cat" option in the single choice field.
In the screenshot underneath, we have set up a configuration for the "Why is a cat your spirit animal" field to display show when the option "Cat" is selected in the "What is your spirit animal?" single choice field.
Creating a more advanced Field Logic configuration
As you can configure Logic to show when All or Any of the logic rules are met, you can have fields being shown or hidden when a row of configurations are met. In the screenshot underneath, we have set up the Logic so this field shows when all of the rules are met: