Branching based on Custom Variables

How to setup branching based on Custom Variables

With help of Compound / Delayed Logic you can set up branching based on custom variables.
Consider this example:
Q1: Gender
Q2: Which Car you drive?
Q3: General question to be answered by everybody
Branching based on custom variables will be set on Q1 and depending on values of the custom variable will be
branched to different questions.
Q2: To be answered only by those who are Directors or VPs
Where Positions will be passed using the custom variables

Steps for setting this up:

Before setting up the logic, set up all the questions in the survey.

Step I: Click on "Logic" option for question 1

Select the Compound/Delayed Branching option and click on "Setup Logic".

Screenshot

Step II: Now click on Add Logic Criteria.

Screenshot

Key in the criteria Name and select the Data Segment Type as "Custom Variables / System variables".

Screenshot

Enter the value for custom variables and click on "Finish".

Screenshot

Criteria for the custom variables have been created successfully. Now click on Continue to setup the branching.

Screenshot

Step III: Now the Criteria will be selected under Logic Criteria. Select the destination questions for if the logic matches or otherwise. Click on the Update/Add Logic button.