Add the quotas
tag to regular questions to create derived quota fields. These derived fields are generated by the system when the survey source is parsed. Radio (single-select) questions with quotas: y
generate single option quotas. Checkbox (multiselect) questions with quotas: y
generate multi-punch quotas. For more detailed information about quotas, including other tags commonly used with quotas: y
, see Quotas overview and the descendant page Common quota tags.
For information on the quotas widget (type: quotas
), see Standalone quota variables.
Syntax
# In a question widget # Basic quotas: y # Specific options to include quotas: [comma separated list or range of option ids to include] # Specific options to exclude quotas: -[comma separated list or range of option ids to exclude]
Example
All options
Code | In Quota Manager |
---|---|
4. What is your annual household income, before taxes? type: radio quotas: y |
|
Include, range
Code | In Quota Manager |
---|---|
5. What is your annual household income, before taxes? type: radio quotas: [1..7] scale: y 1. Less than $25,000 2. $25,000 to less than $50,000 3. $50,000 to less than $75,000 4. $75,000 to less than $100,000 5. $100,000 to less than $150,000 6. $150,000 to less than $200,000 7. $200,000 or more 99. Do not wish to reply / Don't know |
|
Exclude
Code | In Quota Manager |
---|---|
6. What is your annual household income, before taxes? type: radio quotas: -[99] scale: y 1. Less than $25,000 2. $25,000 to less than $50,000 3. $50,000 to less than $75,000 4. $75,000 to less than $100,000 5. $100,000 to less than $150,000 6. $150,000 to less than $200,000 7. $200,000 or more 99. Do not wish to reply / Don't know |
|
Comments
0 comments
Please sign in to leave a comment.