Skip to main content

Survey Rules and Conditional Logic

Enhance the Survey module by introducing a Rules section on each question that allows admins to configure conditional question visibility and form flow behavior.

Rules let you build a survey that adapts to each person's answers. You can set a rule on a question so that, depending on the answer, the person is taken straight to a later question and skips the ones in between. This keeps surveys shorter and makes sure people only see questions that apply to them.

Admins who create and edit surveys

Question Rules

Allow survey creators to define rules that control:

  • Visibility of subsequent questions

  • Conditional branching within surveys

  • Early termination of the survey flow

  • Rules are configured per question when building a survey template and evaluated during survey completion.

  • Each question in the survey builder will include a Rules section.

  • Admins can configure one or more rules tied to the current question’s response.

ADD A RULE TO A QUESTION

1. Open the survey in the builder and select the question you want to add a rule to.

2. Select the Rules tab at the top of the question. (The other tab is Edit.)

3. Under IF ANSWER IS..., choose an answer.

4. Under THEN SKIP TO..., choose the question the person should go to next when they give that answer.

5. To add another rule for a different answer, select Add rule and repeat steps 3 and 4.

6. Save the question.

Select Preview on the Rules tab to try the survey as a participant would, and check that people are taken to the questions you expect.

REMOVE OR RESET RULES

- To remove a single rule, select the remove icon (Remove rule) next to it.

- To clear all of the rules on a question, select Reset.

Rules can be based on:

  • Single choice answers

  • Multiple choice answers

  • Dropdown selections

  • Boolean/Yes-No responses

  • Rating or scale values

  • Date questions

Cannot be used for:

  • Open ended questions

  • Matrix questions

  • File Upload questions

Question Selection Restrictions

Downstream-Only Rule Targeting

Rules can only target:

  • Questions positioned below the current question

  • Or the special option:

    • End of Survey

This prevents circular dependencies and invalid logic paths.

Example

Question 5 can:

  • Show Question 6

  • Show Question 10

  • End of Survey

Question 5 cannot:

  • Show Question 2

  • Reference previous questions

Default Visibility Behavior

Questions Without Rules

If a question does not have any rules configured on it, the question will display by default during survey completion.

These questions are considered part of the standard survey flow.

Did this answer your question?