I would like a jQuery.validator rule for a checkbox that is not checked. Below is what I have if the checkbox is checked, but I can't figure out the syntax for a rule for not checked. Any help would be appreciated. Thanks!
rules: {
sbPhone: {
required: "#sbPhoneMe:checked",
phoneUS: true
},
Try :not()
rules: {
sbPhone: {
required: "#sbPhoneMe:not(:checked)",
phoneUS: true
},