Restricted multiple select

0
Is it possible to restrict the "Bootstrap Multi Select" Add-on so that a user will be able to select not more than 5 items from the list of countries?
asked
2 answers
1

You would have to implement this yourself by adding this functionality to the widget. Ideally you would then convince the Widget's developer to copy your change into a new version of the widget.

Doing this requires some JavaScript knowledge and basic knowledge on creating custom widgets in Mendix.

answered
0

You could achieve this with the current version of the widget by validating the number of selected items in your onchange microflow and then using the validation feedback activity to report a message back to the user. Only possible downside with this approach is that you would have to run the validation check again on page submit.

Restricting the number of selectable objects would require a code change... if you want to contribute to the project with this enhancement I'd be more than happy to incorporate that into a new release.

answered