Hi.. I´ve upgraded my validate plugin to the 1.5.5 and I was having a problem: I have an email that needs to be checked if it already exists by ajax, and I was using the Validate Remote Method.
In my old Validate version ( 1.5) it works great, but in the 1.5.5 version when I validate the email field it show primary the correct error message ( if it exists): "Email n...@nono.com already exists". But if I type another existing email, no matter which one, I get the same message with the same email using the validator.format "Email n...@nono.com already exists". I was debugging the code and I´ve found out that in line 932 the 1.5 version was written like that: errors[element.name] = response || validator.defaultMessage( element, "remote" ); And in the 1.5.5 like that: errors[element.name] = previous.message = response || validator.defaultMessage( element, "remote" ); So I removed the "previous.message" and it worked great. Does anyone knows why they added this previous.message to this line? And what exactly it does? Thanks