Description
A series of combobox questions where each response defines the available responses on the next combobox. For more advanced dependent questions, see Branching.
Instructions
- Lines 18-66 of the first question's footer must be updated with the nature of the drilldown dropdowns:
- The question named as
dependentDropdownwill be dependent on the question named asindependentDropdown. unansweredStatedefines how the dependent dropdown will respond when the independent dropdown is unanswered.conditionalsdefines which items of the dependent dropdown to show for which responses of the independent dropdown.whenrefers to the independent dropdown's value.thenrefers to the dependent dropdown's values. Both accept a single number or an array of numbers.
- The question named as
Notes
Functions CreateRangedArray and CombineArrays are included to improve the experience of defining when and then with many values. Examples of both functions can be found in this question.