Error on a "remote" rule doesn't enable the eager (onkeyup) validation mode #1002

msimonides opened this Issue Feb 1, 2014 · 1 comment


None yet
3 participants

To reproduce:

  1. Set up validation with a remote rule that takes some time and with the following function for the onfocusout event: function(element) { $(element).valid(); }
  2. Type something that doesn't validate with the rule and focus out of the field.
  3. When the rule finishes processing and error is reported, focus the field.
  4. Modify the value so that it becomes valid.

Result: the field doesn't validate, the default onkeyup event handler doesn't process the keystrokes.

The reason for this is that the remote rule doesn't add the field to the submitted object (as opposed to e.g. the formatAndAdd method).

@msimonides msimonides added a commit to msimonides/jquery-validation that referenced this issue Feb 1, 2014

@msimonides msimonides Quickfix for issue #1002. a59161e

nschonni added the Remote label Feb 4, 2014


jzaefferer commented Jun 28, 2015

I'm sorry for the lack of activity on this issue. Instead of leaving it open any longer, I decided to close old issues without trying to address them, to longer give the false impression that it will get addressed eventually, especially after several years with no activity. It doesn't mean I'm abandoning the project, just that I'm unable to work through 200+ open issues with the little time I can afford to spend on this project.

To the reporter (or anyone else interested in this issue): If you're still affected by the same issue, please consider opening a new issue, with a testpage that demonstrates the issue with a current version of the plugin. Even better, make an attempt to fix the issue yourself, and improve the project by sending a pull request. This may seem daunting at first, but you'll likely learn some useful skills that you can apply elsewhere as well. And you can help keep this project alive. We've documented how to do these things, too. A patch is worth a thousand issues!

jzaefferer closed this Jun 28, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment