select_multiple control the minimum and maximum number of options

217
2
Jump to solution
09-08-2022 01:09 AM
chiara_c
New Contributor III

I'm using Survey123 Connect and in one of the select_multiple question I would like to add a constrain so that the user can move to the next question only if all the options are selected (3 options in total - set the minimum to 3) ... how can I do this?

0 Kudos
2 Solutions

Accepted Solutions
jcarlson
MVP Esteemed Contributor

Try something like count-selected(${your_question}) > 2 in the constraint column. If you want to block access to the rest of the survey, you could put that same expression in the relevant column of the additional questions so that they do not appear until the condition is met.

- Josh Carlson
Kendall County GIS

View solution in original post

0 Kudos
DougBrowning
MVP Esteemed Contributor

I would also consider a text message or emoji to tell the user right away.  One issue with a constraint is that it does not fire until they try to submit.

https://community.esri.com/t5/arcgis-survey123-documents/how-to-simulate-instant-data-checking-using... 

View solution in original post

0 Kudos
2 Replies
jcarlson
MVP Esteemed Contributor

Try something like count-selected(${your_question}) > 2 in the constraint column. If you want to block access to the rest of the survey, you could put that same expression in the relevant column of the additional questions so that they do not appear until the condition is met.

- Josh Carlson
Kendall County GIS
0 Kudos
DougBrowning
MVP Esteemed Contributor

I would also consider a text message or emoji to tell the user right away.  One issue with a constraint is that it does not fire until they try to submit.

https://community.esri.com/t5/arcgis-survey123-documents/how-to-simulate-instant-data-checking-using... 

0 Kudos