[jQuery] Check to make sure checkbox is checked using validator

[jQuery] Check to make sure checkbox is checked using validator


My code:


<span class="required">Do you agree to the terms above?
</span>
<label><input type="radio" class="radioButton" name="emp_termsAgreed"
value="Yes">Yes</label>
<label><input type="radio" class="radioButton" name="emp_termsAgreed"
value="No">No</label>







I want to require that the checkbox with the value of "Yes" is checked
before the form will submit.
How is this done?





    • Topic Participants

    • eric