|
Example 1:
Q1 Gender? Male Female Q2 Age? Below 10 10 - 15 16 - 20 21 - 25 26 - 30 Above 30Scenario: You want to branch respondents based on their Gender as well as Age to different sections of the Survey. Also you do not want respondents older than 30 years of age. You can do so using Custom Scripting. The script for the above requirement is as follows:
#if(${Q2} == 6)
$survey.branchTo("NotReqrd")
#end
#if(${Q1} == 1 && ${Q2} < 3)
$survey.branchTo("MaleKid")
#end
#if(${Q1} == 2 && ${Q2} < 3)
$survey.branchTo("FemaleKid")
#end
#if(${Q1} == 1 && (${Q2} > 3 && ${Q2} <= 5))
$survey.branchTo("MaleAdlt")
#end
#if(${Q1} == 2 && (${Q2} > 3 && ${Q2} <= 5))
$survey.branchTo("FemaleAdlt")
#end
Following are the steps for setting this up:
License Restrictions
This feature/tool [Custom Scoring Logic and Dynamic Scripting] is not available as part of any of our standard self-service licenses. It is part of our Enterprise Service License. Please contact your Account Manager for pricing and options for purchasing the Enterprise Service License. Please Visit Survey Analytics to learn more about Enterprise Solutions |