In this article
Using Condition objects, you can create "Skip logic" in your Survey. To create and edit a Condition, insert it into the Survey tree, and then double click it. You insert conditions wherever you want to alter the flow of a survey.
A condition object consists of three parts; an IF condition, a THEN clause and an optional ELSE clause.
The flow is controlled by a Boolean expression in the IF condition. The expression evaluates to either TRUE or FALSE. If the expression evaluates to TRUE, the survey-mechanism will execute the routing objects in the THEN node. If the expression evaluates to FALSE, the objects in the ELSE node are executed (when the ELSE node exists). The example - below shows a conditional object in the Survey tree.
Figure 1 - A Conditional node
The expressions in the IF condition are written using JScript. To help to build expressions Authoring has included a Expression Builder tool (go to Using the Expression Builder with Conditions for more information).
Note: If you change a condition from IF-THEN-ELSE to IF-THEN, any questions remaining in the ELSE branch will be deleted. If you wish to keep these questions, move them elsewhere in the Survey Tree before you save the condition.