Follow-up questions
A follow-up repeats a question for each distinct item supplied by its references. For a multiple-choice source, these are the selected answers. A reference in the answer-type settings instead supplies choices or labels; a condition controls whether a branch appears.
Requires: Write access to the questionnaire, questionnaire editing enabled, and a selectable source question or calculation.
Repeat a question for each answer
- Create a source list or choice question, or use the daily selection from the reference-question example.
- Add a question after the source if both belong to the same questionnaire. Choose its own answer type, for example Slider (V2) with a 0–10 range.
- Enter “How strongly did {{answerItem}} affect you today?” as the question text. The literal placeholder
{{answerItem}}is replaced by one source answer at a time. - Under Follow up question, enable This is a follow up question.
- Select Add reference question, then select the source questionnaire and question. A calculation reference must supply a text list.
- Select Save, then test using a synthetic person with two source answers. Expect two ratings, each naming the corresponding answer.
If the source choices were “Avoiding tasks” and “Withdrawing”, the same question is asked once about each. Choose the daily selection as the source to ask only about today's selected behaviors; choose the original list to ask about every listed behavior.
Missing answers and repeated questions
References follow the current/previous-answer rules. Duplicate source items produce one repetition. With no usable source items, no repetitions appear; check the source if an expected follow-up is missing. Where multiple references are configured, available answers can still produce repetitions even if another source has no answer.
Nested conditional questions can belong to a repeated question. They are evaluated for each repetition. Test the complete path, including an empty source and a source with several answers, before assigning it.
Advanced combinations
These controls are available only when experimental features are enabled for the instance.
- Pair combinations ask about each unique pair of source items. Three distinct items produce three pairs. Use
{{answerItem}}and{{otherAnswerItem}}in the text. - Combining two questions pairs every item from the first source with every item from the second. Two entries in each source produce four questions. Select the second source question as well.
- If both options are enabled, pair combinations are generated from the combined source lists, rather than only across the two lists.
Keep lists small and test the number of questions: combinations can quickly make a questionnaire long.