bootstrap-multiselect
bootstrap-multiselect copied to clipboard
How to limit checkbox selections?
I would like to limit the number of checkbox allowed. One can only select 3 checkboxes.
http://jsfiddle.net/uo8v45qj/
Unfortunately there is no direct way to limit the selection but you can do it with JS. This is not a finished example as it gets a little funky with the Select All option so more work is needed to make it perfect but it does limit selection and so it is a good start.
http://jsfiddle.net/qovax9uw/