Author > Changing the questionnaire order > Adding a jump to another question > If Go To Routing item
 
If Go To Routing item
Use the If Go To routing item to add a conditional jump to a question other than the next one in the routing. You can define one or more conditions and link them using And or Or operators. When you add an If... Go To statement, the statement is activated if the responses meet the conditions. If the result is true, the questionnaire jumps to the specified question. If it is false, the questionnaire goes to the next item in the Routings pane.
To add an If... Go To routing item
1 In the Routings pane, select the question after which you want to place the If... Go To item.
2 From the menu, choose Insert > Routing Item > If .. Go To or press Alt+I, R, I.
3 The item has an automatically generated name. If required, select the item name and replace it with a more meaningful one. This is useful if you add several If... Go To items to your questionnaire.
The Description field allows you to type a description for the routing item, if desired. When printing draft paper surveys in UNICOM Intelligence Interviewer - Paper, this description is included. Descriptions are not included in the actual paper survey.
4 Click the Add button on the Logic tab of the If... Go To item.
5 In the resulting If... Go To dialog, select one or more questions from the Routings pane or the Questions pane to use as the condition(s) for the If... Go To item, then click the Add button.
6 Specify the conditions for the selected questions.
7 If required, create script filters for the conditions. Script filters allow you to define expressions that cannot be directly parsed for IfBlock, If Go To, and Skip-and-Fill items. For more information, see Adding script filters.
8 Select a question or routing item from the Then go to list to jump to if the conditions are met.
As an alternative to the If... Go To dialog, you can select questions to use as conditions from the Routings pane or the Questions pane in the main UNICOM Intelligence Author window and drag them onto the Logic tab of the If... Go To item. This requires that double click navigation is enabled (Tools > Enable Double Click Navigation).
Fields in the If... Go To dialog
Routings/Questions panes
On the left of the dialog box are a Routings pane and a Questions pane. These panes contain the questions in the routings or questionnaire file in the same way as the panes on the main UNICOM Intelligence Author window. Select a question from either of these panes and click the Add button in the center of the dialog box to use it in a condition.
Note You cannot add a single or multiple response question or grid question as a condition if the question does not contain any responses. Set up the responses for the desired question in the Design pane before adding the question as a condition.
If this condition is true
The information in this area of the dialog box varies depending on the type of question you have selected. Use this area to define a condition. For more information, see Adding conditions. When you add multiple conditions, the conditions are displayed on separate lines. You can select a line to change or remove it. For more information, see Working with multiple conditions.
Then go to
Once you have defined the conditions, select a question or routing item to jump to if the conditions are met. For example, you might set a condition on the question "Which do you prefer, dogs or cats?" that jumps to a page called QuestionsOnDogs if the respondent selects dogs.
Clear Expression
Choose this button to delete all the conditions.
Delete Selected
Choose this button to delete the currently selected condition.
Expand Categories
Choose this button to display the Category Selection dialog box dialog box where you can select responses from a single or multiple response question or grid question, in cases where there are too many questions to display without scrolling.
See also
Adding a jump to another question