Hi,

I'm trying to add a constraint in which the user will only be allowed to select a maximum number of answers in multiple selection choice question.

Is there a way I can do it in Survey 123?

My initial approach was to calculate the number of selected questions using the count-selected(question) formula and use the returned number as a constraint but it did not work.

Is this currently possible and if yes, is there a sample formula to show how I should put this in the constraint column?

Thanks,

Weng

May be the attached XLSFile will help. Note that the syntax of the expression is exactly the same, regardless of it being in used for the

constraintorrelevantexpression. For example: