[validate] - jQuery Validation Plugin - How not validate field already filled
I have a form (form1) to register with the fields: user, email, password being validated normally.
have a second form (Form2) to the user update the data registered in form1, and the fields user, email, password is already populated with data from the database, the email field I use the remote validation, and as the field already has been completed and read always says that this email already exists, how do I create a rule or method so that when the field is already filled it not do so validating and validate if it is filled with a new email.
email2 have a hidden field in order to do a test type,
if (email == email2) (
/ / Here you do not know what to do
)
I'm starting with jquery, I think this is very silly, but still dont know how to do it.
Thanks.