Skip to main content
Skip table of contents

Branch Logic

This conditional transition means that the next question asked to respondents depends on their answer to this particular question.

You can apply Branch Logic to certain types of questions providing this question has at least two questions following it.

To add a Branch Logic transition to one of the questions in your survey click the Logic button next to the question on the Edit Questions page, and then:

  1. Under the Select logic type select the Branch logic option to apply this logical transition to the question if applicable.

  2. Select a question or a page that respondents should be routed to if they choose corresponding answer choice.

Click the Save button to save your changes and go back to the Edit Questions page.

Use Reset to reset the settings.

Click the Cancel button to return to the Edit Questions page without saving changes.

Drill down logic based on Branch logic in Linear Form

Branch Logic can also be used in the creation of Drill Down Logic.

Drill Down, is a type of Logic setup which breaks the Form/Linear form down into sections of questions according to the page's breakdown. These sections are only accessible to the respondents which are associated with a particular group based on their response. A mandatory requirement in such functionality is adding logic rules to each answer option of Multiple Selection question (of Check All that Apply or List Box type), which should determine where each group of respondents should be directed.

To setup Drill down logic, you should add Logic Rules to each answer option which will direct respondents to the question at the beginning of the section. In the example provided below, the form is split into 7 sections depending on answer options selection in Question 1.

Example

Q1.A1 -> page 2 (Q2-Q6) - Section 1
Q1.A2 -> page 3 (Q7-Q11) - Section 2
Q1.A3 -> page 4 (Q12-Q17) - Section 3
Q1.A4 -> page 5 (Q18-Q22) - Section 4
Q1.A5 -> page 6 (Q23-Q27) - Section 5
Q1.A6 -> page 7 (Q28-Q32) - Section 6
In the Select an item to follow this section dropdown menu, select the first question of the section where all respondents should be directed after they answer sections 1-6 -> page 8 (Q33) - Section 7.

Drill down logic based on Branch logic in Survey

If you set up Drill Down logic using Branch Logic in a Survey, the follow-up sections should consist of only one question instead of a set of questions. This is because a survey has a question-based logic, as opposed to linear form, where you can setup branch logic with sections that consist of multiple questions.When you add Branch logic rules to the Multiple choice question type, the Skip logic automatically is set on the question you choose to follow specific answer. In case you have multiple questions in a follow-up section of the survey, the skip logic is only added to the first one and the routing works incorrectly.

An example of correct Drill Down Logic setup using Branch logic in the Survey:

Q1.A1 -> Q1 
Q1.A2 -> Q2 
Q1.A3 -> Q3
Select an item to follow this section: Q4

Incorrect setup:
Q1.A1 -> Q1 
Q1.A2 -> Q3
Q1.A3 -> Q6
Select an item to follow this section: Q9

 

  • Keep in mind that the questions with applied Branch logic must be placed before the questions/pages selected to follow them.

  • Logic should be the last thing applied to a question. If you modify the question in any way, the logic settings will be canceled.

  • It can be applied to single-choice questions (Pick one or other, Dropdown). For example, if you ask someone Have you ever bought from us? - the answer No can lead to Why not? as the next question, while the answer Yes can lead to What did you buy?.

  • More information on how to apply Branch logic to questions that allow multiple answers (Check all that apply, List box types) may be found in Branch Logic for Multiple Answers help chapter.

  • When you apply logic to a question in the survey, a page break is automatically applied after this question.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.