I have the following code:
It only throws an error if NONE of the checkboxes are checked. Is there any way to make it throw an error unless ALL of them are checked?
Thanks!
- Code: Select all
<li class="clearfix checkbox">
<p>I certify the following: </p>
<cms:input type='checkbox' name='certify' id='certify' required='1' opt_values="ged=GED | othertext=schoolyear | sometext=curriculum | text=records" />
<cms:if k_error_certify>
<p class="error">You must check all boxes to qualify for the 3rd option.</p>
</cms:if>
</li>
It only throws an error if NONE of the checkboxes are checked. Is there any way to make it throw an error unless ALL of them are checked?
Thanks!