I have a group of checkboxes of which at least one has to be checked to submit the form. For this I named each checkbox identically and set the required
attribute.
But this doesn't work:
<input name="mycheckgroup" type="checkbox" value="1" required />
<input name="mycheckgroup" type="checkbox" value="2" required />
<input name="mycheckgroup" type="checkbox" value="3" required />
I have to check all three boxes for submitting the form :-(
If this were radio buttons, it worked... But I want at least one or more boxes to be checked.
Can anyone help?