Disable onKeyUp for custom form validation


#1

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.