Delayed branching is when you want to branch respondents to various locations in the survey based on questions asked earlier in the survey. For example, let’s say you ask respondents to select their gender in Q2, but you don’t want to branch respondents based on their answer to Q2 until after Q9, at which point Q10 should be shown to those who selected Male, and Q11 should be shown to those who selected Female. Then, everyone should go back to continue the survey with Q12. To do this, you can use custom scripting. The question for this example would be set up as follows:
Q2 Gender? Male Female
The script for the delayed branching requirement is as follows:#if(${Q2} == 1) $survey.branchTo("Q10") #end #if(${Q2} == 2) $survey.branchTo("Q11") #end
In the above script: Q2, Q10 and Q11 are question codes for the respective questions. The if statement checks if answer to Q1 was 1 (Male) or 2 (Female) and accordingly branches to Q10 or Q11
This feature/tools described here are available with the following license(s) :
Team Edition
Unlimited Surveys, Questions, Responses
Advanced Toolset and Features
No Long Term Commitment