Jquery Validation Plugin - Require 2 checkboxes
        Posted  
        
            by jethomas
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by jethomas
        
        
        
        Published on 2010-04-06T19:50:30Z
        Indexed on 
            2010/04/06
            19:53 UTC
        
        
        Read the original article
        Hit count: 677
        
I have a group of 12 checkboxes, all with the same name (name="4_RepPeriods"). I am using the Jquery validation plugin and i want the user to select no more or less than two of these check boxes.
If possible I also want the other check boxes to become deactivated (unclickable) after two have been selected.
I appreciate the help! Thanks!
© Stack Overflow or respective owner