diff --git a/js/recaptcha.invisible.js b/js/recaptcha.invisible.js index 8093b6f..59b1276 100644 --- a/js/recaptcha.invisible.js +++ b/js/recaptcha.invisible.js @@ -92,7 +92,7 @@ function recaptchaOnInvisibleSubmit() { if (grecaptcha.getResponse().length === 0) { // We need validate form, to avoid prevention of html5 validation. var form = $(elem).closest('form')[0]; - if (form && typeof form.checkValidity === 'function') { + if (form && typeof form.checkValidity === 'function' && !$(form).attr('validate')) { if (form.checkValidity()) { event.preventDefault(); event.stopPropagation();