Difference between revisions of "Condition name: Include answer option if"
(jrfconvert import) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | == Condition name: Include answer option if == | |
− | |||
− | + | '''Question types applied''' | |
− | + | Single, Multi, Single-Grid, Multi-Grid question | |
− | + | '''Description''' | |
− | + | This condition can only be used with question types that have answer options. If you have answer options in a question that does not make sense to include based on some answers the user may have given earlier in the questionnaire, you can exclude these answer options from a specific question by placing this type of conditions on it. The conditions are checked before the question is shown to a user. Notice that this condition type is basically identical to the "Exclude answer option if" condition, except that the conditions will have the opposite meaning in terms of including or excluding an answer option. | |
− | + | A typical example would be that one question asked the user which soft drinks he had tried. If the following question then asked how well he liked each of the stated soft drinks, we would obviously want to exclude all those that he had not tried before. You can see this example below. | |
− | + | '''Example''' | |
− | + | The question below is the question prior to the question with the "Include answer option if" condition. | |
− | + | [[Image:6067.png|800px|Conditions56-3-6]] | |
− | + | The question below is the question with the "Include answer option if" condition. | |
− | + | [[Image:6066.png|800px|Condition56-3-5]] | |
− | + | The logical condition on the above question called "LikeBrand" would be the condition shown below. | |
− | + | [[Image:6070.png|450px|Condition56-4-1]] | |
− | + | Finally below you will see how the two questions would work in the questionnaire viewer, given the users choices of brands in the first question "TryBrand". | |
− | + | [[Image:6069.png|800px|Condition56-3-8]] __NOTOC__ <!-- imported from file: 1015.htm--> | |
− | [[ | + | [[Category:Question_conditions]] |
− | |||
− |
Latest revision as of 05:41, 22 December 2011
Condition name: Include answer option if
Question types applied
Single, Multi, Single-Grid, Multi-Grid question
Description
This condition can only be used with question types that have answer options. If you have answer options in a question that does not make sense to include based on some answers the user may have given earlier in the questionnaire, you can exclude these answer options from a specific question by placing this type of conditions on it. The conditions are checked before the question is shown to a user. Notice that this condition type is basically identical to the "Exclude answer option if" condition, except that the conditions will have the opposite meaning in terms of including or excluding an answer option.
A typical example would be that one question asked the user which soft drinks he had tried. If the following question then asked how well he liked each of the stated soft drinks, we would obviously want to exclude all those that he had not tried before. You can see this example below.
Example
The question below is the question prior to the question with the "Include answer option if" condition.
The question below is the question with the "Include answer option if" condition.
The logical condition on the above question called "LikeBrand" would be the condition shown below.
Finally below you will see how the two questions would work in the questionnaire viewer, given the users choices of brands in the first question "TryBrand".