Skip to content
English
  • There are no suggestions because the search field is empty.

Question Logic

Show or hide a specific question based on how a user answers the current question

This type of logic Question Logic is used to show the user a specific question (or hide a question) based on their answer to the current question. 

All questions must already exist in the form before a question logic can be applied. 

Note: Page Logic is similar, but opens a specific form page rather than question.


The most common way to apply Question Logic is to start by hiding any questions whose display is logic-based. (In other words, hide any questions that not all users will see).

The example below uses the following setup: 

  • Question 1 is single-selection multi-choice. 
  • Question 2 will be shown only to users who answer Question 1 with "Accounting." This question is hidden because not all users will see it.
  • Question 3 will be shown only to users who answer “Yes” to Question 2. This question is also hidden.
  • Question 4 will be shown to all users, and is therefore not hidden.


To apply the logic for Question 1, click its Logics icon.


Click Create Logic



In the Create / Edit Survey Logic popup:

  • Set the Logic Type to Question
  • In the IF section, define the Condition: the event that triggers the logic. In this example, the logic is triggered when the answer to Question 1 is “Accounting.”
  • If the THEN section, define what happens when the logic is triggered. In this example, the user will be shown Question 2.


Notes: 

  • There are several types of logic conditions, including “is not,” “contains,” “starts with,” “ends with,” etc. for text answers, and “greater than,” “less or equal to” etc for numbers. 
  • The other THEN option is to hide a question. This means that rather than start with hidden questions, you could start with all visible questions, and choose what to hide.

After saving, the logic is listed on the Logics page for the question. Any logic can be edited or deleted.


Note: You can create multiple logics for a single question. In this example, only one logic is created, for the “Accounting” answer in Question 1. But if similar hidden questions were created for the other two selection options of "Data Entry” and “Logistics,” this question could have three total logics.


The second logic in this example is applied to Question 2, which asks whether the user has accounting experience. If that answer is Yes, the user would be shown Question 3, asking to describe their accounting experience.

 

In the Surveys & Forms list Surveys and Forms List, a form’s total number of logics are listed on the right.

You can test your logics by previewing the form. 



In this example, this is what the user would see when starting the form. Only Question 1 and Question 4 appear, and not the questions that are hidden.


If the user chooses “Accounting” for Question 1, they are shown Question 2.


If the user chooses Yes for Question 2, they are shown Question 3.