Hello,

When using a Dropdown menu on form, that allow multiple choice, the user can chose unlimited choices.

Even if I configure to chosen field to allow 2 or 3 choices only, the user is able chose unlimited choices.
Only after the user will try to save, he will get an error that he need to select up to 2 choices, and not more.

How can I prevent from the user to chose more then 2 choices, and not more?

Comments

dave reid’s picture

Status: Active » Closed (duplicate)

I think this was resolved with #2118537: Options not set properly on widget select elements if the global selector does not match. If you could check the next release to confirm. If it's still not working, feel free to re-open this ticket.

edenb’s picture

Status: Closed (duplicate) » Active

It's still happen.

Tried to update to the dev (7.x-2.x-dev) 3/5/2014, but didn't worked.
Try to update library - didn't worked.

Users can still choose unlimited choices - even if I defined that the max is 2 choices.
Only upon save the users will get an error that will tell them to chose only 2 choices and not more (for example).

Any idea how to solve this issue?

dave reid’s picture

Sorry to ask again - could you try the beta1 release?

dave reid’s picture

Status: Active » Postponed (maintainer needs more info)
edenb’s picture

I tried version 7.x-2.0-beta4.

Works great!!

After the user chose 2 choices (for example), he can choose any more, unless he will press "x" on one choice, and will cancel it.

Thanks! :)

dave reid’s picture

Status: Postponed (maintainer needs more info) » Fixed

Great!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.