var formValidationRules = {
rules: {
password: {
required: true,
remote: '/account/delete'
}
},
messages: {
"password": { required: "Please enter your password", remote: "Invalid password, try again." }
}
};
I wrote such validation, but I found out the the Validation will check for each event for the remote and the required.
I would like to perform such task only when submitting, (no blur, no keyup) - what is the best way to do this?
Thanks.