Jquery check, don't check on keyboard

I now have a custom callback function for a custom rule using jQuery Validation Plugin , which makes an AJAX request and returns a boolean result. This works fine for the first attempt, so if it is not valid, it displays an error. Any attempt after that triggers a custom callback that results in multiple AJAX calls, one for each keyup event. Is there a way to disable the automatic response of a user callback on each keyboard, only for this field?

+4
source share
1 answer

There is an option. See here .

Disables onkeyup verification.

$(".selector").validate({ onkeyup: false }); 
+10
source

All Articles