Conditional Logic

The Conditional Logic add-on needs to be installed and activated to see the features mentioned in this this documentation.

Show and Hide Fields
The Conditional Logic plugin can be used to show and hide form fields based off of the user’s inputs.
In this example, the submit button is hidden until the “Terms and Conditions” are agreed to.

After the fields of your form have been setup, you can add Conditional Logic to the fields by selecting Conditional Logic under the Advanced heading in the form builder.

Choose Conditional Logic

Once in the Conditional Logic section, you can change the conditional statement, or add a new one.

Hide Submit with Conditional Logic

Change Values in Fields
The plugin can also be used to change field values.
In this example, the value in a field called “Discount” is changed to 10 if the “Member” option is chosen from the list.

After the fields of your form have been setup, you can add Conditional Logic to the fields by selecting Conditional Logic under the Advanced heading in the form builder.

Choose Conditional Logic

Once in the Conditional Logic section, you can change the conditional statement, or add a new one.

Conditional Logic used to Chage Value

Add and Remove items to a list
Similar to how the plugin can be used to change field values, we can use it to add or remove items from a list field.
In this example, the option to add a “Warranty” is only added to the list when the option for the “3rd Package” is chosen.

After the fields of your form have been setup, you can add Conditional Logic to the fields by selecting Conditional Logic under the Advanced heading in the form builder.

Choose Conditional Logic

Once in the Conditional Logic section, you can change the conditional statement, or add a new one.

Add List Item With Conditional Logic

Determine when an Action gets processed
Conditional Logic can also be applied to Actions to have the determination on whether or not they are processed on submission, based on inputs into the form by the user.
In this example, the Email Action will only be processed if the user selects “Marketing” from the list.

Open your Action and at the bottom of the Action, you will see the Conditional Logic section.

Actions Conditional Logic

Under the Conditional Logic section, you can change the conditional statement, or add a new one.

Using Conditional Logic to Process and Action

List Fields with Conditional Logic

First as you can see we have a list field with three options(one, two, and three) and we have three textbox fields that we will show and hide based on the option selected in the list field.

Let’s get started by creating our “default state”, a default state is how we want the form to display data from the default position. We do this by creating a conditional statement that Shows the first field on our form(Textbox One) and hiding the others(Textbox Two and Textbox Three). Make sure to delete conditions that are auto-populated in the “If the Condition is Not Met” section.

Next we need to create conditions similar to this one for the other two fields.

Now your form should display the textbox that corresponds with the option that is selected in the list field.

How helpful was this documentation?

Gold Star Green Light Yellow Light Red Light
Very helpful Helpful Unclear/Unhelpful Not helpful at all