views:

422

answers:

2

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?

A: 

i had to remove the comma after : minlength:3,

FALCONSEYE
A: 

Great, it was pretty helpful.

Fernando Meyer