Survey Logic & Branching
Make your surveys smarter by showing or hiding questions based on respondent answers. Logic helps create personalized experiences and collect more relevant data.
Types of Logic
Display Logic
Show or hide a question based on previous answers.
Example: Only show “Which features do you use?” if the respondent answered “Yes” to “Do you use our product?”
Skip Logic
Jump respondents to a different page or question based on their answer.
Example: If respondent selects “No experience,” skip to the end of the technical questions section.
Page Branching
Direct respondents to different survey paths based on their responses.
Example: Route customers vs. prospects to different sets of questions.
Setting Up Display Logic
- Click on the question you want to control
- Go to the Logic tab in the question settings
- Click Add Display Logic
- Set your condition:
- Select the source question
- Choose the operator (equals, contains, is greater than, etc.)
- Select or enter the value
- Save your logic
Logic Operators
- Is / Is not - Exact match
- Contains / Does not contain - Partial match
- Is greater than / Is less than - Numeric comparisons
- Is answered / Is not answered - Response presence
Multiple Conditions
Combine conditions with AND/OR:
- AND - All conditions must be true
- OR - Any condition can be true
Example: Show question if (Age > 18) AND (Country = USA)
Setting Up Skip Logic
- Select the question with the triggering answer
- Go to Logic tab
- Click Add Skip Logic
- For each answer option, set where to skip:
- Specific question
- Specific page
- End of survey
- Save
Page Branching
For complex surveys, set up page-level routing:
- Go to page settings
- Click Page Branching
- Set conditions for which page comes next
- Create multiple branches for different paths
Advanced Logic Features
Question Randomization
Randomize the order questions appear to reduce order bias.
- Select questions to randomize
- Enable Randomize Questions in settings
- Optionally set questions to always appear first/last
Block Randomization
Randomize groups of questions while keeping related questions together.
Custom Variables
Create variables to track complex conditions across multiple questions.
- Go to Survey Settings > Custom Variables
- Define variable name and logic
- Use variable in display logic conditions
Logic Best Practices
Keep It Simple
- Start with basic logic, add complexity as needed
- Test thoroughly after adding logic
- Document your logic flow
User Experience
- Don’t create confusing jumps
- Ensure all paths lead to completion
- Preview all possible paths
Data Quality
- Ensure required questions are always shown
- Don’t create impossible paths
- Test edge cases
Testing Your Logic
- Preview Mode - Walk through all possible paths
- Test Responses - Submit test responses for each scenario
- Logic Map - Review your survey’s logic flow visually
Common Use Cases
Screening Questions
Filter out unqualified respondents early.
Q: Are you 18 or older?
- Yes → Continue
- No → Skip to End (disqualified message)
Product-Specific Questions
Only show relevant product questions.
Q: Which product do you own?
- Product A → Show Product A questions
- Product B → Show Product B questions
- None → Skip to general questions
Satisfaction Follow-up
Dive deeper based on satisfaction level.
Q: How satisfied are you? (1-10)
- 1-6 → Show "What can we improve?"
- 7-8 → Show "What did you like?"
- 9-10 → Show "Would you recommend us?"
Troubleshooting
Question not showing:
- Check logic conditions are correct
- Verify source question is earlier in survey
- Test with different answer combinations
Infinite loops:
- Review skip logic doesn’t create circles
- Ensure end conditions are reachable
Missing data:
- Skipped questions won’t have responses
- Account for this in your analysis
Related articles: