I have the following validation:
phone1: {
required: {
depends: "#pri_noPhone:not(:checked)"
},
number: true,
minlength:3,
},
If a checkbox is checked (yes, contact me via phone) then go validate the phone1, phone2 and phone3.
In FF and Firebug, there are no errors. However, IE7 throws an error saying:
a runtime error has occurred. error: expected identifier, string or number
and it points to the rules at phone1. Not sure why?