Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote validation executed before addMethod methods #711

Closed
matthewvalimaki opened this issue Mar 28, 2013 · 1 comment
Closed

Remote validation executed before addMethod methods #711

matthewvalimaki opened this issue Mar 28, 2013 · 1 comment
Milestone

Comments

@matthewvalimaki
Copy link

In #679 remote validation was moved to be the last validator in the chain. New validators added with jQuery.validator.addMethod() are appended after remote validation. The added methods should either go in front of remote or when validation is executed remote should be the last validation to be called.

Justification for this is quite clear: calling remote is useless if other validations fail.

@jzaefferer
Copy link
Collaborator

Makes sense. There's already some code in place that moves the require method to the front. Something equivalent could move the remote method to the back.

bpinto added a commit to bpinto/jquery-validation that referenced this issue Jul 2, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants