Disable onKeyUp for custom form validation

  • 20 February 2018
  • 0 replies
  • 12 views

I added a custom validation to validate email field using javascript. But the validation keeps running onKeyUp which is not ideal for my use case. How can I disable validation on keyup?
I’m using .validator.addMethod to add the custom validation. I already tried using .validator.setDefaults({ onKeyUp: false }) but validation still runs on keyup.


0 replies

Be the first to reply!

Reply