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.
Disable onKeyUp for custom form validation
Be the first to reply!
Reply
Log in to the Unbounce Community
No account yet? Create an account
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.