jquery checkbox validation only applies to first checkbox
Hi.
Sorry if this is already replied but coudn't find any answer that solves my issue.
I am trying to apply jquery validation in a checkbox group, but it always applies only to first checkbox.
<input name="futureadditionscol[]" type="checkbox" required id="futureadditionscol_1" title="Please pick at least one" value="1">
a) Default </dd>
<dd><input type="checkbox" name="futureadditionscol[]" id="futureadditionscol_2" value="2">
b) Extra </dd>
<dd> <input type="checkbox" name="futureadditionscol[]" id="futureadditionscol_3" value="3">
c) Special </dd>
<dd><input type="checkbox" name="futureadditionscol[]" id="futureadditionscol_4" value="4">
d) Other
I just need at least one checkbox of the group to be checked.
No matter what I tried (added required to all checkboxes of the group) validation only applies separately to each checkbox. Is there something I have to hand code after I apply the validation rule through jquery validation panel so validation applies to the group and not to each checkbox of the group individually?
Thank you in advance