48
Compound
Advanced
*COMPOUND
Groups multiple sub-questions onto a single screen. Each sub-question has its own label and is referenced independently in expressions. Useful for collecting related data in one interaction.
Script Definition
script definition (.q)
*COMPOUND 'Q48' 'Please provide the following details:' *SR 'Q48a' 'Gender' 1:Male 2:Female / *NUMBER 'Q48b' 'Age' / /
Use in Expressions
expressions
Q48a=1 -- male respondent (sub-question Q48a) Q48b>=18 -- adult age (sub-question Q48b)
Each sub-question has its own label and is referenced independently in conditions.