Hello!
Anyone know if it is possible to enforce a maximum number of choices on multi-select option sets?
Ideally, we would like a multi-select option set field on a form but only allow a maximum of 2 choice selections.
Hello!
Anyone know if it is possible to enforce a maximum number of choices on multi-select option sets?
Ideally, we would like a multi-select option set field on a form but only allow a maximum of 2 choice selections.
Hi Partner,
Can you click Yes under "Did this answer your question?" to close this thread if my answer is helpful.
Thanks in advance!:)
Thank you so much Leah!
Hi Partner,
You need use js code to enforce a maximum number of choices on multi-select option sets in the form.
JS:
Go Settings > Customizations > Customize the system > Web Resource to add new:
Go Settings > Customizations > Customize the system > Entities > One entity you need > Forms to open one main form you need.
Save and publish all customizations.
Test:
André Arnaud de Cal...
292,516
Super User 2025 Season 1
Martin Dráb
231,432
Most Valuable Professional
nmaenpaa
101,156