Non‑question items: If...Goto
Use an If...Goto to define routing for some respondents but not others. You specify the respondents to which the Goto applies by listing responses that they must have given to previous questions. For example, to create an If...Goto that applies to women, you might say that the response to the Gender question must be Female. The questions and answers that control an If...Goto are commonly called the routing condition because they define the conditions under which the Goto will be followed.
A routing condition can specify a single condition or a list of conditions. If you specify more than one condition, you must also specify how each condition relates to the next one in the list. Conditions can be related to one another using And or Or. Use And when respondents must satisfy both conditions; use Or when respondents must satisfy at least one of the conditions.
The Advanced tab displays the routing condition as a text expression. If you are familiar with the expression definition language, you can make changes to the expression on this tab, and will be able to use the full expression syntax to define more complex expressions than are possible on the Edit tab.
To define conditional routing
1 Click Insert Item.
The New Item dialog opens.
2 Select the Routing Items tab.
3 Choose If...Goto and click OK.
This displays the Edit tab for If...Goto items.
4 Choose a question name from the list of question names.
5 Choose a condition from the list of conditions. The contents of this list varies according to the type of question you chose.
6 The value box (the third box) varies according to the type of question you chose. For a single or multiple choice question, select a response from the list. For a numeric or text question, type a number or text in the box.
7 If you want to define another condition, click And.
A second condition definition line is displayed, and the And button that you clicked changes to a list so you can choose how the two conditions are to be combined.
8 If you want the new condition to be combined with the previous condition using Or rather than And, select Or from the list in the previous line.
9 Define the next condition as you did the first one.
10 Repeat these steps until you have fully defined the conditions under which the routing should take place. If you make a mistake, click Delete to delete an incorrect line from the specification.
11 In Goto, select the question or other item that you want to jump to if the condition is true.
See also