Select max or less choices

Hi I want to know what would be the syntax while you want to select maximum / less than choices in multiple selction questions . I need this support on urgent basis

Hello Shuburna,

you can use this constraint: count-selected(.)<=3 in multiple choice selection, where it allows maximum up to 3 choices to select from options.

You can changes the number according to your need.

Hope this helps you to solve your issue

Regards,
Dinesh Dangol

1 Like

Thanks. I also want to know in multiple reponse as such I want to give option if the respondent select option1 then he can't select other option. How can do that

You can extend the constraint expression to include as many tests as you need.

eg - if option1 selected, then only allow one selection, otherwise allow up to three selections;
if(selected(.,'option1'),count-selected(.)=1,count-selected(.)<=3))

1 Like