Skip to main content
Conditional logic allows you to create dynamic studies that adapt based on participant responses. Show relevant questions, hide irrelevant ones, and create personalized experiences.

What Is Conditional Logic?

Conditional logic defines rules that control when questions appear. Questions can be:
  • Shown: Display based on specific conditions
  • Hidden: Skip when conditions aren’t met
  • Required conditionally: Only required for certain participants
Example:
If participant selects “Yes” to “Do you own a car?” → Show follow-up questions about car usage If participant selects “No” → Skip car-related questions

Why Use Conditional Logic?

Better Participant Experience

  • Only ask relevant questions
  • Shorter surveys for some participants
  • More logical question flow

Better Data Quality

  • Avoid confusing participants with irrelevant questions
  • Get more accurate responses to applicable questions
  • Reduce survey fatigue

Research Flexibility

  • Handle multiple audience segments in one study
  • Drill deeper based on specific answers
  • Create branching paths for different scenarios

Types of Conditions

Based on Single Answer

Show question if a specific option was selected:
Condition: If Q1 “Primary device” = “Smartphone” Action: Show Q2 “Which smartphone brand?”

Based on Multiple Answers

Combine conditions with AND or OR:
Condition: If Q1 = “Yes” AND Q2 = “Daily user” Action: Show detailed usage questions
Condition: If Q1 = “Interested” OR Q1 = “Very Interested” Action: Show purchase intent section

Based on Numeric Values

For rating scales or numeric inputs:
Condition: If satisfaction rating ≤ 2 Action: Show “What disappointed you?”
Condition: If age ≥ 18 Action: Continue to main survey

Setting Up Conditional Logic

1

Select the Target Question

Click on the question you want to control (the one that will be shown or hidden).
2

Open Condition Settings

Find the conditional logic settings in the question panel.
3

Add a Condition

Click “Add Condition” to create a new rule.
4

Define the Rule

Select:
  • Source question: Which question triggers the condition
  • Operator: Equals, not equals, contains, greater than, etc.
  • Value: The answer that triggers the action
5

Save Changes

Save your study to apply the conditional logic.

Operators Available

OperatorUse Case
EqualsExact match to selected option
Not equalsAny option except the specified one
ContainsText contains a word or phrase
Greater thanNumeric value above threshold
Less thanNumeric value below threshold
Is answeredAny answer was provided
Is not answeredQuestion was skipped

Combining Conditions

AND Logic

All conditions must be true:
Show Q3 if:
  Q1 = "Yes" AND
  Q2 = "Frequently"
Use AND when you need multiple criteria met.

OR Logic

Any condition can be true:
Show Q3 if:
  Q1 = "Yes" OR
  Q2 = "Maybe"
Use OR when multiple paths should lead to the same question.

Complex Combinations

Show Q5 if:
  (Q1 = "Yes" AND Q2 = "Daily") OR
  (Q1 = "No" AND Q3 = "Interested")
Complex logic can be confusing. Document your logic and test thoroughly.

Common Patterns

Follow-Up Questions

Q1: Do you use our mobile app?
  - Yes → Show Q2: How often do you use it?
  - No → Skip to Q5

Branching by Segment

Q1: Which best describes you?
  - Student → Show student questions
  - Professional → Show professional questions
  - Retired → Show retired questions

Satisfaction Follow-Up

Q1: Rate your satisfaction (1-5)
  - If 1 or 2 → Show: What disappointed you?
  - If 4 or 5 → Show: What do you like most?
  - If 3 → Show both

Product Usage Path

Q1: Have you purchased our product?
  - Yes → Q2: When did you purchase?
         → Q3: How satisfied are you?
  - No → Q2: Are you considering purchasing?
        → Q3: What would influence your decision?

Using AI for Conditional Logic

Ask the AI to help set up logic:
  • “Add a follow-up question if they select ‘dissatisfied’”
  • “Skip the next section for participants who don’t own a car”
  • “Show different questions based on their age group”
The AI understands context and can suggest appropriate conditions.

Testing Conditional Logic

Always test your conditional logic before launching. Untested logic can create confusing experiences.

How to Test

  1. Go to the Recruit tab
  2. Generate a test link
  3. Complete the survey multiple times, choosing different answers
  4. Verify the right questions appear for each path

Test All Paths

Create a checklist of scenarios:
  • Path 1: Yes → Follow-up shows
  • Path 2: No → Follow-up skips
  • Path 3: Edge case → Handled correctly

Best Practices

Keep it simple. Complex logic is hard to test and maintain. Start simple, add complexity only when needed.
Document your logic. Note which questions depend on which answers. This helps when reviewing or editing later.
Consider all paths. Make sure every possible answer leads somewhere logical. Don’t leave dead ends.
Test edge cases. What if someone skips a question? What about unexpected combinations?

Common Mistakes

Q1 shows if Q2 is answered, but Q2 shows if Q1 is answered. This creates an impossible situation.
You set conditions for “Yes” and “No” but forgot “Maybe.” Some participants see no questions.
Too many conditions make studies hard to maintain and test. Simplify when possible.
Logic that seems correct often has bugs. Always test every path before launching.

Conditional Logic and Analysis

When analyzing results:
  • Questions with conditions will have fewer responses
  • Analysis reports account for conditional questions
  • Be careful comparing questions with different base sizes