Pipe Answers from Dynamic Matrix or Panel
You can populate the choice options of selection-based question types (Single- and Multi-Select Dropdown, Checkboxes, Radio Button Group) with answers copied from other selection-based question types (see the Carry Forward Responses demo). This example demonstrates a more advanced use case, in which choices are dynamically sourced from cell values of Dynamic Matrix and question values in Dynamic Panel.
Each choice item consists of a value saved in survey results and a text displayed in the UI. To construct a choice item, specify the following properties for a choice-based question:
choicesFromQuestion
Thename
of a Dynamic Matrix or Dynamic Panel.choiceValuesFromQuestion
Thename
of a matrix column or dynamic panel question that supplies choice values to be saved in survey results.choiceTextsFromQuestion
Thename
of a matrix column or dynamic panel question that supplies choice texts to display in the UI. If this property isundefined
, choice values are both used as display texts and saved in survey results.