How to validate a field only when focus is out for this input element? Now, when I type into the input, validator immediatelly validate my data. I want that validator validate my data when I start to filling another one input.
Asked
Active
Viewed 4,115 times
0
-
You are using jQuery validate plug-in I'm assuming? – Mark Pieszak - Trilon.io Dec 17 '12 at 16:11
-
unobtrusive validation jquery – Roman Bats Dec 17 '12 at 16:13
1 Answers
2
Yes it's possible. The idea is to return false form OnKeyUp event: http://jquery.10927.n7.nabble.com/validate-onkeyup-for-single-field-td121993.html
ASP.net MVC 3 jQuery Validation; Disable Unobtrusive OnKeyUp?