I have a input type of checkbox in my form, and I want to use jQuery Validation: http://docs.jquery.com/Plugins/Validation
I have it working fine on a dozen other forms of mine, but none of those forms have checkboxes. How can I check to make sure that a checkbox is checked using this plugin?
Currently I have it as such:
...
termsConditions: {
required: true
}
...
<input type="checkbox" id="termsConditions" name="termsConditions"/> I agree to the <a href="terms">terms and conditions</a>
<label style="float: none;" for="termsConditions" class="error" generated="true"></label>
Nothing happens when I try to validate for it. Any help?