Branching logic for questions

Branching logic allows you to show different questions to your audience based on their previous responses.

Not available with "Show all questions at once". When that option is on in the general settings, every block appears on one page in linear order, so there is no next question to branch to. The Questions tab in Branching logic & results is then read-only and shows a notice, while the Results tab and the result calculations still work. Your logic is kept, not deleted: turn off Show all questions at once under Settings > General: Navigation, language & scheduling to edit it again.

branching logic notice with show all questions at once

  1. Go to the Scoring & branching logic icon on the left and click on QUESTIONS.
    branching logic for questions
  2. Go to the relevant content block and then select a Branching type.
    four branching types
    There are five options to choose from:
    • Linear
    • Data layer / Form fields
    • Answer
    • Block score
    • Total score

Linear logic

There is no branching logic and the blocks will follow on consecutively. This is the default setting.

linear logic

Data layer / Form fields

The next block depends on a condition set applying or not. This can be based on Data layer items you set up for the Riddle or form fields.

data layer form fields logic

For example:

  1. If form field entry [equals/doesn't equal/contains/does not contain/starts with/doesn't start with/ends with/doesn't end with/is empty/is not empty] your entered [value] applies, show block B. If form field entry [equals/doesn't equal/contains/does not contain/starts with/doesn't start with/ends with/doesn't end with/is empty/is not empty] your entered [value] doesn't apply, show block C.
  2. If form checkbox [is checked/is not cheked/skipped] is true, show question B. If form checkbox [is checked/is not cheked/skipped] is false, show question C.
  3. If Data layer variable [equals/doesn't equal/contains/does not contain/starts with/doesn't start with/ends with/doesn't end with/is empty/is not empty] your entered [value] applies, show block B. If Data layer variable [equals/doesn't equal/contains/does not contain/starts with/doesn't start with/ends with/doesn't end with/is empty/is not empty] your entered [value] doesn't apply, show block C.

Answer

The next block depends on what your audience answered in the previous block.

answer logic

For example:

If your audience answers A, show question B.

Multiple-choice blocks do not support branching logic by answers.

Block score

The next block depends on your audience's score in the previous block.

block score logic

For example:

If your audience gets > X points in block A, show question B. If < X points, show question C.

Question-level e.g. Your audience gets X points if the question is correct.

Answer-level e.g. Your audience gets different points for each answer.

You can use a slider and create branches around different scores, each showing a different block.

Total score

The next block depends on your audience's score in all preceding blocks.

total score logic

For example:

If your audience has > X cumulative points, show question A. If your audience has < X cumulative points, show question B.