Skip to main content

Apply Conditional Logic to Custom Questions

Written by Mikkel D. Bertelsen

Use conditional logic to show a question only when it’s relevant, based on how someone answered an earlier question. This is especially useful for follow-up prompts like:

  • “Why XYZ?”

  • “Tell us more.”

How to Apply Conditional Logic

  1. Open the question editor for a custom question.

  2. Open the Advanced Settings.

  3. Toggle on Conditional Logic.

  4. Set your logic rule.
    For example:
    ​Only show this question if the respondent answered "X" to question Y.

Note: Conditional logic is only available for custom questions.

Things to Keep in Mind

  • A question with a condition applied may not be moved above its dependency in the survey editor.

  • Conditional logic only works when referencing certain question types. See the table below.

Supported Logic Operators by Question Type

This table shows which logic operators can be applied when selecting a condition based on an earlier question (not the question you're creating).

Operator

Interval

Interval Importance

NPS

Single Select

Multiple Select

Greater Than

✅

✅

✅

Less Than

✅

✅

✅

Equal To

✅

✅

✅

✅

Not Equal To

✅

✅

✅

✅

In

✅

Not In

✅

Containing (single select)

✅

Not Containing

✅

Operators explained

Use these operators to decide when a follow-up question should appear:

Operator

When to use it

Example

Greater than

Show the question when the response is more than X

Show a question if satisfaction score is greater than 8

Less than

Show the question when the response is less than X

Show a follow-up if rating is below 5

Equal to

Show the question when the response is exactly X

Show a message if a specific option is selected

Not equal to

Show the question when the response is anything except X

Trigger a prompt if a certain answer is not chosen

In

Show the question when any selected options match your condition

Ask a follow-up if the user selects “Price” or “Service”

Not in

Show the question when none of the selected options match your condition

Trigger a question if “Price” or “Service” are not selected

Containing

Show the question when a specific option is selected

Trigger a follow-up if the word “slow” appears

Not containing

Show the question when a specific option is NOT selected

Show a prompt if “fast” is not mentioned

Did this answer your question?