Avoid revalidate the field when pressing one of the following keys in 'onkeyup' method: Shift => 16 Alt => 18 Caps lock => 20 End => 35 Home => 36 Left arrow => 37 Up arrow => 38 Right arrow => 39 Down arrow => 40 Insert => 45 Num lock => 144 AltGr key => 225 This helps especially with the remote method, which has a lot of overhead. Closes #1411
All other validation methods are bound to $ but this one was bound to 'JQuery' , it is causing error when you have two versions of jQuery and want to bind all these methods to one of jQuery instance. Closes #1396
Also adds the warning to CONTRIBUTING.md, its worth duplicating. Added a reference to addMethod for both.
Invalid element is not focused when validate a custom set of inputs and the last one is a valid input. The issue is element method, via prepareElement method, via reset method, resets errorList state after validate each input so the global state of the validator is not preserved. Closes #1327
The check never matches anything, since it looks for a space that is removed earlier. It also checks for both upper and lowercase letters, even though the string can only consist of upper case. Fixes #1237
When use a custom highlight functions which for example place the error class in a different element (like Bootstrap form-group wrapper) this element are not unhighlighted after resetForm. Closes #1323
It looks ugly to see a full stop at the end of an error message, and it is worse if the message is used in dynamic context (e.g. in a kind of popup message like a tooltip) Also use the default (possibly localized) error message when a wrong date is used instead of using a static message to improve flexibility, for all three custom date methods. Closes #1326