Select TWO from answer choices


this might be a stupid question, but I don't know the answer yet:

I know the function select_one and select_multiple.

I want that two choices from a list can be selected. I can write this in the hint, but to make sure that not more than two choices are selected, it would be nice if this cannot even be done.

select_two does not seem to work....

What could be a solution?

Thank you very much!


You can use "count-selected(.)<=2" in the constraint column.

For more detailed examples of constraints used in select_multiple you can check this link: Multiple selection validation


Thank I was going to post the same answer.
look at for more.