I noticed that validation occurs even when i am typing. What i would like is that it only performs validation when another field is selected or when clicked on the submit button.
Is there a way to prevent validation when typing?
I noticed that validation occurs even when i am typing. What i would like is that it only performs validation when another field is selected or when clicked on the submit button.
Is there a way to prevent validation when typing?
If you want to disable as-you-type validation for all fields, try doing this:
$(function(){
$.validator.setDefaults({
onkeyup: false // disable onkeyup events
});
});