Another value ( NA) in Select Multiple option

190
3
12-26-2018 02:14 PM
Highlighted
Occasional Contributor
I want to place a multiple option select_multiple, but that contains the value: "NA - no previous value". 
This value should exclude (or eliminate) another option marked within the other options. Is this possible in the multiple selection??
Currently the option NA appears added to the others which generates an inconsistency in my results.
Reply
0 Kudos
3 Replies
Highlighted
Esri Regular Contributor

Hi Pamela

There isn't a way to do this with a select_multiple question; all responses to a select_multiple are stored together in a comma-separated string. In your survey, would it be feasible to include a question preceding the select_multiple (e.g. "Is there a previous value?" Yes/No) that controls whether the user sees the select_multiple (using the relevant column) and/or sets a default for the select_multiple?

Some handy general info here: https://community.esri.com/groups/survey123/blog/2017/08/30/understanding-multiple-choice-questions-... 

Jim

Highlighted
New Contributor

Thanks Jim

Reply
0 Kudos
Highlighted
Esri Regular Contributor

Hi Pamela

Another option would be to apply a constraint to the select_multiple, to check if more than one answer is selected when NA is selected. For example:

if(selected(${question}, 'NA') and count-selected(${question}) > 1, false(), true() )‍

You could then add a constraint message to explain that no other selections are allowed when NA is selected.