Skip to main content
Version: 1.0.0-beta

Conditional Logic

Conditional logic makes questionnaires dynamic — showing or hiding questions based on previous answers. This reduces respondent burden and ensures relevant questions are asked.

How It Works

Conditional logic creates rules like:

  • "If Q1 answer is Yes, show Q2 and Q3"
  • "If Q1 answer is No, skip to Q5"
  • "If Rating is 3 or below, show follow-up text question"

Creating Rules

  1. Select a question that should conditionally appear
  2. Click Add Condition
  3. Configure the rule:
ParameterDescription
Trigger QuestionWhich question's answer triggers this rule
OperatorEquals, Not Equals, Greater Than, Less Than, Contains
ValueThe answer value that activates the condition
ActionShow or Hide this question

Examples

Simple Yes/No Branching

Q1: Does your department have an incident response plan?
→ If YES: Show Q2 (When was it last tested?)
→ If NO: Show Q3 (What is the planned implementation date?)

Rating-Based Follow-Up

Q4: Rate your department's cybersecurity maturity (1-5)
→ If 1-2: Show Q5 (What are the main gaps?)
→ If 3: Show Q6 (What improvements are planned?)
→ If 4-5: Skip to next section

Multi-Condition

Q7: Which regulations apply to your unit?
→ If includes "PDPL": Show PDPL-specific section
→ If includes "NCA ECC": Show NCA ECC-specific section

Multiple Conditions

A question can have multiple conditions combined with AND/OR logic:

  • AND — all conditions must be true to show the question
  • OR — any condition being true shows the question

Testing Logic

Use the Preview mode to test your questionnaire flow:

  1. Click Preview
  2. Answer questions as a respondent would
  3. Verify that conditional questions appear/disappear correctly
  4. Test all branching paths

Limitations

  • Conditions can only reference questions that appear earlier in the questionnaire
  • Circular dependencies are not allowed
  • Maximum 10 conditions per question