|
|
@ -338,7 +338,7 @@ $.fn.form = function(parameters) { |
|
|
|
$fieldGroup = $field.closest($group), |
|
|
|
validationRules = module.get.validation($field) |
|
|
|
; |
|
|
|
if(settings.on == 'change' || ( $fieldGroup.hasClass(className.error) && settings.revalidate) ) { |
|
|
|
if(validationRules && (settings.on == 'change' || ( $fieldGroup.hasClass(className.error) && settings.revalidate) )) { |
|
|
|
clearTimeout(module.timer); |
|
|
|
module.timer = setTimeout(function() { |
|
|
|
module.debug('Revalidating field', $field, module.get.validation($field)); |
|
|
|