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?
Solved! Go to Solution.
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.
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.
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.
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.