hi can someone help me on how to validate checkboxes that has different names for each checkbox in javascript? i want to validate it to a max number of selection. thanks
can someone help me on how to validate checkboxes that has different names for each checkbox in javascript? i want to validate it to a max number of selection. thanks[/QUOTE]Just loop through the elements array of the form, checking the type of each element (ideally after checking that its type property exists). If an element has type 'checkbox' and its checked property==true, increment your counter.