Skip to main content

Forms Module – Question Rules & Conditional Logic

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

This enables dynamic forms where questions are shown only when relevant based on responses to previous questions.

Question Rules

Allow form creators to define rules that control:

  • Visibility of subsequent questions

  • Conditional branching within forms

  • Early termination of the form flow

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

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

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

1. Show Another Question

Display a target question when specific conditions are met.

Example:

  • If Question 1 = “3”

  • Then show Question 3

2. End Form

Terminate the form flow when a condition is met.

Example:

  • If Question 2 = “blah”

  • Then End Form

After triggering:

  • Based on the answer to Q1, Q3 is displayed as the rule is applied on Q1

  • Q2 is displayed for the other answers than the one included in rule 1

  • Based on the answer to Q2, form ends (in this example if it's blah and then END)

  • If it's other then show Q3

  • User can hit Submit to complete the form submission.

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 Survey

This prevents circular dependencies and invalid logic paths.

Example

Question 5 can:

  • Show Question 6

  • Show Question 10

  • End 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 form completion.

These questions are considered part of the standard form flow.

Did this answer your question?