The Matching option determines how the Conditions you have defined are evaluated and combined for a final result that will display or hide the question. For instance, you may want a question to be hidden if any of your conditions are met or only if all of them have been satisfied. You can also perform more advanced matching as well. Whether the question is hidden or displayed once your conditions have been matched will be determined by the Action you set. The Matching options are discussed below:
Match ALL of the Conditions
The Action you specify for this question (showing or hiding) will be taken only when all of the listed Conditions are satisfied. This is equivalent to having an AND operator between all of the conditions.
Match ANY of the Conditions
The Action you specify for this question (showing or hiding) will be taken only when any of the listed Conditions are satisfied. This is equivalent to having an OR operator between all of the conditions.
Match CUSTOM Combination of Conditions
Sometimes you may need to hide or display a question based on more complicated condition matching than "any" or "all". In these cases, you can customize an expression that tells us how to match your conditions. When you select this option, a textarea will appear that allows you to type in your custom expression. The syntax for this expression is discussed below.
Each condition under Conditions will have an identifying number to its left. The first condition will be 1, the second 2, and so on. These numbers will be used within your custom combination in order to identify individual conditions. The operators you may use are AND, OR and NOT. For example, let's assume you have defined three conditions and you wish to hide this question when either condition 1 is true or also if condition 2 is true, but condition 3 is false. You would enter your custom combination as:
1 OR (2 AND (NOT 3))
The parentheses are used to determine the order of evaluation. The content inside the parentheses are evaluated first before the surrounding conditions. So in the example above, the condition (NOT 3) will be evaluated first and combined with (2 AND (NOT 3)) prior to the overall condition of 1 OR (2 AND (NOT 3)).
See also
- Hide or Display Question Under Certain Conditions
- Conditions
- Survey Parameter: Respondent's Language
- Survey Parameter: Respondent's Score
- Survey Parameter: Dates and Times
- Survey Parameter: Random True or False
- Survey Parameter: Question is Inside Loop
- Question Type: Choose One Answer
- Question Type: Choose Multiple Answers
- Question Type: Single Answer Menu
- Question Type: Multiple Answer Menu
- Question Type: Single Text Field
- Question Type: Text Field List
- Question Type: Matrix - One Answer per Row
- Question Type: Matrix - Many Answers per Row
- Question Type: Matrix - Most Preferred
- Question Type: The SUPER Matrix™
- Question Type: Ranking List
- Question Type: Constant Sum
- Question Type: File Upload
- Question Type: Dates and Times
- Action
- Matching
- Conditions