Skip to content
Open fromusers

Display logic

SurveysUsability testsIn-product surveys

Display logic shows or hides a question, page, or section based on conditions. Participants stay on a continuous path. Hidden content is simply not presented.

  • Ask follow-up questions only when a prior answer matches.
  • Hide whole pages that do not apply to a segment.
  • Gate a section behind a screener or consent answer.
  • Combine with variables so URL or sample data can control visibility.

Use branching instead when you need to jump to a different page, section, or ending.

  1. Open the study in the builder.
  2. Select a question, page, or section.
  3. Add display rules such as Show if or Hide if.
  4. Choose a source (question response or variable).
  5. Pick an operator and comparison value.
  6. Combine multiple conditions with AND or OR.
  7. Preview the path with sample answers.

Available operators depend on the question or variable type. Common labels:

Operator (plain English)Typical use
Equals / isExact match for a choice or value
Does not equal / is notEverything except one value
Contains / does not containText includes (or excludes) a substring
Starts with / ends withPrefix or suffix checks on text
Greater than / greater than or equalNumeric thresholds
Less than / less than or equalNumeric thresholds
Is empty / is not emptyBlank vs answered
Is checked / is not checkedCheckbox-style or completion flags
Has any of / is one ofMatch any value in a list
Has all ofRequire every listed value
Has none of / is not one ofExclude a list of values
Is ranked first / is ranked lastRanking position
Is ranked in topRanking within the top N

For goal-based tasks, checked operators may appear as completed / not completed labels in the builder.

LevelWhat you control
QuestionWhether that question appears on its page
PageWhether the whole page is eligible
SectionWhether the section enters the participant path

Rules can mix sources: earlier answers, variables, and formulas.

Show a follow-up open-text question only when NPS is less than or equal to 6:

  1. Add display logic on the follow-up question.
  2. Condition: NPS score is less than or equal to 6.
  3. Action: Show if the condition is true.
  • Operators are filtered by question type. Ranking operators only apply to ranking questions.
  • Display logic does not change navigation targets. Use branching for skips and endings.
  • Section and page rules are evaluated before question rules. See How rules are evaluated.
  • Prefer Show if when the default should be hidden.
  • Keep rule names clear so teammates can audit paths.
  • Test both matching and non-matching answers in preview.

Common questions

Can display logic use variables as well as answers?

Yes. Conditions can reference question responses and other study variables such as URL parameters or participant sample fields.

What happens if every question on a page is hidden?

The page can be skipped automatically when it has no visible questions, so participants move to the next reachable page.

Is display logic the same as branching?

No. Display logic shows or hides content. Branching changes where the participant goes next.