jQuery programmatically removing validation highlighting
- by Sam Carleton
The form has two check boxes (cbDeclined & cbIsOOfFac), two text fields and a drop down (txtHeight, txtWeight, ddlDevice).
If either check box is checked, then the other controls are disabled and the rules for the other do no apply. Here are the current rules:
$('form').validate({
highlight: function (element, errorClass) {
…