Display logic
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.
When to use it
Section titled “When to use it”- 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.
How to set it up
Section titled “How to set it up”- Open the study in the builder.
- Select a question, page, or section.
- Add display rules such as Show if or Hide if.
- Choose a source (question response or variable).
- Pick an operator and comparison value.
- Combine multiple conditions with AND or OR.
- Preview the path with sample answers.
Operators
Section titled “Operators”Available operators depend on the question or variable type. Common labels:
| Operator (plain English) | Typical use |
|---|---|
| Equals / is | Exact match for a choice or value |
| Does not equal / is not | Everything except one value |
| Contains / does not contain | Text includes (or excludes) a substring |
| Starts with / ends with | Prefix or suffix checks on text |
| Greater than / greater than or equal | Numeric thresholds |
| Less than / less than or equal | Numeric thresholds |
| Is empty / is not empty | Blank vs answered |
| Is checked / is not checked | Checkbox-style or completion flags |
| Has any of / is one of | Match any value in a list |
| Has all of | Require every listed value |
| Has none of / is not one of | Exclude a list of values |
| Is ranked first / is ranked last | Ranking position |
| Is ranked in top | Ranking within the top N |
For goal-based tasks, checked operators may appear as completed / not completed labels in the builder.
| Level | What you control |
|---|---|
| Question | Whether that question appears on its page |
| Page | Whether the whole page is eligible |
| Section | Whether the section enters the participant path |
Rules can mix sources: earlier answers, variables, and formulas.
Example
Section titled “Example”Show a follow-up open-text question only when NPS is less than or equal to 6:
- Add display logic on the follow-up question.
- Condition: NPS score is less than or equal to
6. - Action: Show if the condition is true.
Limitations
Section titled “Limitations”- 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.