Difference between revisions of "Condition name: Include sub question if"
(jrfconvert import) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | == Condition name: Include sub question if == | |
− | |||
− | + | '''Question types applied''' | |
− | + | Single-Grid, Multi-Grid, Text-Grid, Scale-Grid question | |
− | + | '''Description''' | |
− | + | This condition can only be used with question types that have sub questions. If you have sub questions 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 sub questions 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 sub question if" condition, except that the conditions will have the opposite meaning in terms of including or excluding a sub question. | |
− | + | 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 sub question if" condition. | |
− | + | [[Image:6067.png|800px|Conditions56-3-6]] | |
− | + | The question below is the question with the "Include sub question if" condition. | |
− | + | [[Image:6071.png|800px|Condition56-4-1]] | |
− | + | The logical condition on the above question called "LikeBrand" would be the condition shown below. | |
− | + | [[Image:6075.png|450px|Condition56-7-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:6074.png|800px|Condition56-6-4]] __NOTOC__ <!-- imported from file: 1030.htm--> | |
− | [[ | + | [[Category:Question_conditions]] |
− | |||
− |
Latest revision as of 05:42, 22 December 2011
Condition name: Include sub question if
Question types applied
Single-Grid, Multi-Grid, Text-Grid, Scale-Grid question
Description
This condition can only be used with question types that have sub questions. If you have sub questions 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 sub questions 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 sub question if" condition, except that the conditions will have the opposite meaning in terms of including or excluding a sub question.
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 sub question if" condition.
The question below is the question with the "Include sub question 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".