Question Logic

This article will help you setup conditional logic for displaying questions and responses.


Adding Skip logic to a question

For any question in the survey, you can define a condition for skipping it so that the respondent won't see it. This is configured on each question's settings bar.

To open the settings bar, click on the gear icon on the top-right corner of the question's card. This will open up the question's settings bar.

To specify a skip condition, turn on the SKIP LOGIC toggle, and follow one of the below 2 options:

  • For simple logic (based on one criteria only) use the Standard tab and choose the appropriate Target, Operation and Response:
  • For more complex logic, or if formulas are preferred,  specify the condition in the text area that appears in the Advanced tab:

The question will be skipped if the condition in the field evaluates to true.


Filtering Responses

For any question in the survey, you can define a condition for filtering specific responses out of the question. This is configured in the question's settings bar.

note: If you are filtering a small number of responses or a single response you can filter at the response setting level

To open the settings bar, click on the gear icon on the top-right corner of the question's card. This will open up the question's settings bar.

To specify a filter responses condition, turn on the FILTER RESPONSES toggle, and specify the condition in the text area that appears.

IMPORTANT!: When working with the filter responses condition the formula entered in is checked against each response in the list individually, as such we have the ability to use X in our formulas to reference the current responses name, for example the condition: Q1 = X would filter out the response that has the same name as the value of Q1. The ability to use X in filter conditions offers a great deal of flexibility allowing the creating of complex filters.

Example use cases

There are a few different ways to use the Filter Responses setting depending on how you are looking to filter the responses

Filtering Responses in a list based on a non-mutually exclusive list

A very common use case is to filter a questions response list based on choices made in an earlier non-mutually exclusive question, for example:

in this example it makes sense to only have the respondents rate the cereals that they have tried before, so we will filter the responses in Q4 based off what was selected in Q3, in the Filter Responses condition we would use the condition:

PARSE ("Q3_" . X) != 1 (filters any response NOT selected in Q3 from Q4)

If you instead wanted to filter out the selected items and show only unselected items you could instead change the condition to be:

PARSE ("Q3_" . X) = 1 (filters any response selected in Q3 from Q4)


Filtering a Subset of Responses in a list based on a question/variable

Another common use case often times you will have a large list containing subsets of items, such as a list of beverages with subsets of beverage types such as sodas, juices and sports drinks. If the respondent answered that they do not drink soda in an earlier questions it makes sense to filter them from the list of available responses, for example:

In order to filter out the soda types from the response list of Q6 we first need to determine which choices are sodas; in this example the first 2 in the list apply, so we create our condition to check if Q5 = 1 AND the response value is less than or equal to 2 filter it:

(Q5 = 2 AND X <= 2) (this will filter out responses 1 AND 2 if the respondent selected no(2) for Q5)

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us