This javascript cut & paste code snippet limits the number of check boxes that the user may select on your page. This script is ideal for situations where more than one selection may be allowed up to a certain limited number. If the viewer selects more than the allowed amount, they are notified of the maximum allowed and their last entry becomes invalid and unchecked.
Insert this code into your HEAD of HTML
Insert this code into your BODY section
Simply Cut and Paste Script code
Be sure to properly place script position in
HEAD & BODY sections of html
This script has been in the Internet.com Public Library.