Reference questions
A reference connects the question you are configuring to a source question. It lets the current question reuse that person's answers as choices, slider labels or autocomplete suggestions. The source question does not need a special “reference” answer type.
Requires: Write access to the questionnaire, questionnaire editing enabled, and access to select the source questionnaire and question.
Use a previous answer as choices
For example, one questionnaire asks “List your problem behaviors.” A later questionnaire asks “Which of your problem behaviors did you engage in today?” Its choices should be the entries the same person previously supplied.
- Create the source question with Extendable list of answers, then save its questionnaire.
- Create the second question and choose Multiple choice from list of answers. Use Single choice from list of answers if only one selection is wanted.
- In the second question's answer settings, select Add reference question and Based on a question.
- Search for and select the source questionnaire, then the question that collects the problem behaviors. The source can be in the same questionnaire or another one.
- Set the selection limits, then select Save in the questionnaire toolbar.
- With a synthetic person, answer the source with “Avoiding tasks” and “Withdrawing”. Open the second questionnaire and check that these are its choices.
The reference is configured on the second question. It does not assign the source questionnaire automatically; assign it and have the person answer it first when needed.
Which answers are used
Normally, references use the answers of the person completing the questionnaire. Within the same questionnaire, a source answer already present in the current submission is used first. If it is absent, or the source is another questionnaire, Status looks for the most recent eligible previous submission: it must meet the source questionnaire's completion threshold and must not be invalidated.
An explicitly empty current answer does not fall back to an older nonempty answer. Place source questions before dependent questions. Multiple references can contribute entries; blank entries are removed and duplicate choices are combined.
If a reference-based choice or slider has no usable source answers, the answering flow displays a message asking for the source answers instead of the usual control. Check the selected source, the person's answers and the source questionnaire's completion before trying again. A staff preview alone does not establish that a particular person has the required answers.
Other uses of references
| Setting | What the reference supplies |
|---|---|
| Choice from list of answers | Selectable answers. |
| Slider V2 from list of answers | Labels for one slider, not a slider per answer. |
| Extendable-list autocomplete | Suggestions added to manually configured suggestions. Missing source answers leave the manual suggestions available. |
| Follow-up question | Items for repeating the question. |
The reference selector also offers Based on a calculation. Select its questionnaire and calculation; this use requires a calculation producing a list of text values, not just a numeric score. See calculations.
Some instances expose the experimental Based on answer of linked person option in reference-based answer settings. This changes the source to the linked person's answers; without a linked person, the current person's answers are used. Leave it off for the ordinary same-person example above.