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,
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:
Thank you so much Leah!
Can you click Yes under "Did this answer your question?" to close this thread if my answer is helpful.
Thanks in advance!:)
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 185 Super User 2025 Season 2
#ManoVerse 104
Pallavi Phade 68