In aytm logic, references and aliases can be used in multiple ways, achieving a wide range of possible text and survey flow manipulations.
How to Use Number of Respondents Logic
- Use "RN" addition to the reference to obtain the number of selected items. This is relevant for multi-choice question types, as one may create survey flow based on how many checkboxes were ticked by respondents.
- For the optional open-ended question, the "RN" returns 0 if respondent opted to proceed without writing anything.
|
Common Use Case Examples
- [Q10rn] - This logic will display the number of selected answers in Q10, as a plain number
- [Q10SQ1rn] - This logic will display the number of selected answers in the first sub-question of Q10, in a plain number
- [show if Q10rn>1] - The item where this logic resides will only be shown if the number of selected answers in Q10 is greater than 1.
- [show if Q4 and Q4rn=1] - Q4 is an open-ended question type, with the "optional" feature enabled. This code will make the element visible if respondent was exposed to the fourth question, and wrote something in it.
|