Desktop User Guides > Author > Changing the questionnaire order > Adding general conditional logic > Adding conditions > Working with multiple conditions
 
Working with multiple conditions
You can specify multiple conditions for a given If, ElseIf, or If Go To item. Multiple conditions are combined using logical operators:
And: All of the conditions must be true. This is the default. Combine conditions with the And operator when you want to take the action associated with the If, ElseIf, or If Go To item only if the responses satisfy all conditions.
Or: Any (or all) of the conditions can be true. Combine conditions with the Or operator when you want to take the action associated with the If, ElseIf, or If Go To item if the responses satisfy any or all of the conditions.
Choose And or Or from the list that appears at the right of a condition item when you insert multiple conditions.
Moving a condition
To change the order in which a condition appears after you have added it, click it, and then use the up or down arrow buttons on the Logic tab to move it.
Grouping conditions
You can group conditions so that an And or Or operator applies to the group rather than to an individual condition.
Once you have grouped two or more conditions, you can use the NOT operator. NOT means that only responses where the grouped conditions are not true are considered.
To group conditions
In the Logic tab, use Shift+click to select the conditions that you want to group, and choose the Group button This graphic is described in the surrounding text..
A box is displayed around the grouped conditions.
To ungroup conditions
In the Logic tab, select the grouped conditions and choose the Ungroup button This graphic is described in the surrounding text.
See also
Adding conditions