Difference between revisions of "Condition name: Include answer option if"

From Catglobe Wiki
Jump to: navigation, search
(jrfconvert import)
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Category:HelpBooks]]
+
== Condition name: Include answer option if ==

 
  
======Condition name: Include answer option if======
+
'''Question types applied'''
  
'''Question types applied'''
+
Single, Multi, Single-Grid, Multi-Grid question
  
Single, Multi, Single-Grid, Multi-Grid question
+
'''Description'''
  
'''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.
  
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.  
  
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'''
  
'''Example'''
+
The question below is the question prior to the question with the "Include answer option if" condition.
  
The question below is the question prior to the question with the "Include answer option if" condition.
+
[[Image:6067.png|800px|Conditions56-3-6]]
  
[[Image:6067.png|800px|Conditions56-3-6]]
+
The question below is the question with the "Include answer option if" condition.  
  
The question below is the question with the "Include answer option if" condition.
+
[[Image:6066.png|800px|Condition56-3-5]]
  
[[Image:6066.png|800px|Condition56-3-5]]
+
The logical condition on the above question called "LikeBrand" would be the condition shown below.  
  
The logical condition on the above question called "LikeBrand" would be the condition shown below.
+
[[Image:6070.png|450px|Condition56-4-1]]
  
[[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".  
  
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-->
  
[[Image:6069.png|800px|Condition56-3-8]]
+
[[Category:Question_conditions]]
__NOTOC__
 
<!-- imported from file: 1015.htm-->
 

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.

Conditions56-3-6

The question below is the question with the "Include answer option if" condition.

Condition56-3-5

The logical condition on the above question called "LikeBrand" would be the condition shown below.

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".

Condition56-3-8