Introduction

You can use Conditional Logic to show, or hide fields based on the values of other fields. A very simple example:

If the user selects a rating of less than, or equal to, 3:

  1. Show a field which asks for the reason behind his low rating
  2. Also show the submit button

If the user selects a rating greater than 3:

  1. Thank him for the good rating
  2. Ask him if he wishes to come back
    If the user selects Yes, or No, show the submit button.
  3. Show the submit button
  • Rating

How Show / Hide Work

Show
If the selected / entered value of Field is Male then show Field Y. This will hide Field Y if the selected / entered value is anything other than Option A.

Hide
If the selected / entered value of Field X is Female then hide Field Y. This will show Field Y is the selected / entered value is anything other than Option C.

Fields

  • Fields: Star Rating, Smileys, and Thumb
    Each selectable option of the fields Star and Smiley has a pre-defined value, from 1 to 5 (in case of Smileys) and 1 to 5 (or more, in case of Star Rating). Thumb has a pre-defined value of 1 for a positive rating (Up) and 0 for a negative rating (Down).
  • Fields: Checkbox, Multi-Choice, and Dropdown
    In case of Multi-Choice and Dropdown, where only one option can be selected, the show / hide event is triggered when that particular option is selected / checked. Pretty straightforward.
    In case of Checkbox, where multiple options can be selected, the show / hide event is triggered when that particular option is checked, irrespective of whether the other option(s) are selected or not.
    Example: You want to show Field Y when Option A is checked. Field Y will be shown when only Option A is selected, and it will also be shown when Option A and Option D are both selected.
  • Fields: Email, One-line text, Multi-line, and Date
    This is easy. The show / hide event is triggered when a particular value is typed / selected.
    Example: You want to show Field Y when someone types admin in a field. As soon as a person types admin, Field Y shows up. When he presses backspace to delete the last alphabet, Field Y vanishes. The conditional logic is checked at every keystroke. Cool, isn’t it?
    Bonus: If you want to show Field Y when a person types anything in a text field, set the conditional logic to show Field Y when value in the text field is greater than 0  

  • Fields: File
    The value, in case of a file field, is the number of files uploaded.

Limitations

Conditional Logic cannot be used from the following fields. However, you can use conditional logic from other fields to show / hide the below fields.

  • Choice matrix
  • Sliders and Range
  • Dividers
  • Hidden Fields
  • Captcha
  • Custom Field
  • Time Field