Conditional Logic

Knowledge BaseField Options → Conditional Logic

Conditional logic can be used to conditionally show/hide fields or sections of your form if any or all of several criteria are met.

Conditionally show a field

  1. Go into edit your form.
  2. Open the Field Options for the field that you want to conditionally hide or show.
  3. Select Use Conditional Logic and add any criteria that you want. For example, you may want to only show the current field if the ‘Would you like to add your email address?’ field is equal to ‘Yes’.
    Conditional Logic
  4. Now, when the user meets the criteria in the conditional logic, the hidden field will appear.
    Conditional Single

Show a field when another is completed

  1. Go into edit your form.
  2. Open the Field Options for the field that you want to conditionally show.
  3. Select Use Conditional Logic and set it up to say:
    Show this field if any of the following match: Field X is NOT equal to ______(leave blank).
    Conditional Show if Not

Conditionally display a section

To hide or show a section of your form, add a Section Heading field which uses conditional logic. All the fields inside the section will hide or show with the heading.

  1. Add a ‘Section’ → ‘Heading’ field. Drag and drop fields into the Section.
  2. Open the Section field’s options click ‘Use Conditional Logic’ and add any criteria that you want.
    Conditional Logic
  3. If you do not want to see the heading for this section, open the Field Options and set the Label Position to ‘None’.
  4. When the user meets the criteria in the conditional logic, all the fields inside of the Section Heading will appear.
    Conditional Section Heading 1

Display selected number of fields

If you would like to allow users to fill out an identical field n times, where n is dependent on the number selected in another field, follow the instructions below to set this up. This may come in handy if you have a field where a user selects the number of tickets and you want 3 text fields to show up if ‘3’ is selected for the number of tickets.

  1. Add a dropdown field for selecting the number of sets to show. The options for this field would simply be numbers: 1, 2, 3, etc.
    Conditional Dropdown
  2. Add a ‘Single Line Text’ field and title it ‘Name’.
  3. Use the duplicate icon duplicate-1 in the upper-right of each of your new fields to create the exact same field. Continue duplicating each field until you have the maximum number of fields that you need. For example, if your user can select up to five from your dropdown created in Step 1, you need create five ‘Name’ fields.
  4. Add conditional logic to each of the ‘Name’ fields.
    1. Conditional logic settings for the first ‘Name’ field:
      Conditional Logic 1
      If you want your first ‘Name’ field to always be visible, do not use any conditional logic for this field.
    2. Conditional logic settings for the second ‘Name’ field:
      Conditional Logic 2
    3. Conditional logic settings for the third ‘Name’ field:
      Conditional Logic 3
    4. Add similar logic to the rest of the ‘Name’ fields in your form.

Now when the user selects the number of names to input, the selected number of fields will show.
conditional gif

Conditionally skip a page

Conditionally skip a page based on a response from the user. Please note: You cannot use conditional logic on the last Page Break field in your form.

  1. Add a Page Break field to your form and open its Field Options.
  2. Click Use Conditional Logic and add any criteria that you want.
    Conditional Logic Skip Page