jQuery Validation required returns false and still validates the input

Posted by Esteban Feldman on Stack Overflow See other posts from Stack Overflow or by Esteban Feldman
Published on 2010-04-19T23:55:47Z Indexed on 2010/04/20 0:03 UTC
Read the original article Hit count: 292

I have a select box that is default to nill But still in required I use a function that always returns false and validation stills validates my select

dob: { required: function(element) { return false;}},

Is marked as valid, no matter what is returned.

Any clue?

jQuery validation plug-in 1.7 jQuery 1.4.2 jQuery UI 1.8

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about validation