Frequently asked question
Yes, it is possible to have more than one answer to a survey question to prompt the subsequent conditional question. This is done by configuring the relevant column of the subsequent question with specific answers to the current question.
An Accident Report Form is used as an example in this article. Based on the type of traffic accident, a subsequent question on the number of vehicles involved only appears if the answer to the current question is relevant. The question does not appear if the type of accident is a rollover or a single car accident, as this usually involves one vehicle.
Type of traffic accident | Prompt the subsequent question? |
Rollover | No |
Single car accident | No |
Rear-end collision | Yes |
Side-impact collision | Yes |
Multiple vehicle pile-up | Yes |
Complete the steps below to configure the relevant column to prompt the subsequent conditional question.
For a select_one question
${select_one fieldname}='choice 1' or ${select_one fieldname}='choice 2} or ...
In this example, selecting either Rollover or Single car accident in the select_one question (Type of traffic accident) does not prompt the subsequent question (Number of vehicles involved). However, selecting either Rear-end collision, Side-impact collision, or Multiple vehicle pile-up prompts the subsequent question.
For a select_multiple question
selected(${select_multiple fieldname}, 'choice 1') or selected(${select_multiple fieldname}, 'choice 2'), or ...
In this example, selecting any combination of answers that includes Rear-end collision, Side-impact collision, or Multiple vehicle pile-up in the select_multiple question (Type of traffic accident) prompts the subsequent question (Number of vehicles involved).
Get help from ArcGIS experts
Download the Esri Support App