0

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.

Roman Bats
  • 1,775
  • 3
  • 30
  • 40

1 Answers1

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?

Community
  • 1
  • 1
bobek
  • 8,003
  • 8
  • 39
  • 75