Advanced Ask if Logic
Description: Describes how to build Advanced Ask if rules to set complex logic (e.g. logic based on more than one question).
Use Advanced Ask if Logic to add conditional logic that is not supported with the standard Ask if Logic in Vista. For example, if you want to have a conditional that is based on the answer to two separate questions you will likely need to use Advanced Ask if Logic.
Note: In most cases you can use a combination of standard Ask if Logic and the Go To Question to set up conditional logic in a survey. Since this method is much simpler than using Advanced Ask if Logic, you should always try to set up your logic using this method, and only use Advanced Ask if Logic if you can't get your conditional logic implemented with standard functionality.
Adding an Advanced Ask if Condition
Here is how to set up an Advanced Ask if condition for a question:
- In the Question Editor for the question, click the Ask if button.
- From the drop-down box asking you to pick the dependent question, choose Other.
- Enter the conditional statement you want to use (see below for more details).
||Question 1 is greater than Question 2
||Questions 1a-1c do not add to 100
||Question 1 is greater than 10 AND Question 2 is greater than 20
||Question 1 equals 0 OR Question 2 equals 0
||Question 1 is at least 5 charactsers in length
||The maximum value of Q1a-c is less than 5
||Question 1 does not contain a '@' character (i.e. simple email validation)
||Exactly 3 options are selected for Question 1 (Select Many question)
For more information about conditional statements, see the following pages: