Hi @alecrust,
Could you please provide your url website so we can check on our end ?
We have made some tests, and it’s fine on our end. Could you please share a recording (including the steps to replicate) so we can reproduce the issue ?
Looking forward to hearing from you.
Best Regards,
Alexis
@alexisbienayme sure here is a form with this issue for your testing.
I’m not really sure what you want a screen recording of. If you submit the form, you will see my screenshot.
For anyone else that stumbled across this, the problem was my form had additional classes on the submit button.
e.g. this default submit button code works:
<input type="submit" class="sib-default-btn" value="Subscribe">
But adding additional classes breaks the form when reCAPTCHA is enabled:
<input type="submit" class="Button Button--secondary sib-default-btn" value="Subscribe">
This feels like a bug to me, it’s pretty common to want to add additional classes to the submit button.
sendinblue.php line 687
$formData['html'] = str_replace(
'class="sib-default-btn"',
'class="sib-default-btn" id="invisible"',
$formData['html']
);
if you change your classes this code will not work, very bad design
a workaround is to add
id="invisible"
to the submit button
<input type="submit" class="sib-default-btn button-default fusion-button-default-size fusion-button-span-yes" id="invisible" value="Subscribe">
Hi @alecrust, @simbot,
The issue has been identified and fixed. It will be applied in the next release of the plugin that might arrive next week.
For now, the workaround would be adding id=”invisible” in the submit button as @simbot mentionned. Thank you very much for your workaround !
Best Regards,
Sendinblue
Similar for me, I don’t even see a captcha box regardless if i chose invisible or standard
Uncaught ReferenceError: gCaptchaSibWidget is not defined at Object.success (mailin-front.js?ver=1675682779:176:42) at i (jquery.js?ver=1.12.4-wp:2:27362) at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2:28121) at x (jquery.js?ver=1.12.4-wp:4:22575) at XMLHttpRequest.c (jquery.js?ver=1.12.4-wp:4:26776)
The line in the javascript that errors is:
grecaptcha.reset(gCaptchaSibWidget);
Hi @justafella,
Could you please provide the url link of your website so I can check ? Also, please provide a screenshot of the error for a better understanding of the issue.
Looking forward to hearing from you.
Best Regards,
Alexis
Same issue here. I had problem with google recaptcha V3 so I switched to v2 but I have this error in console:
mailin-front.js?ver=1679899917:176 Uncaught ReferenceError: gCaptchaSibWidget is not defined
at Object.success (mailin-front.js?ver=1679899917:176:42)
at c (jquery.min.js?ver=3.6.1:2:28327)
at Object.fireWith [as resolveWith] (jquery.min.js?ver=3.6.1:2:29072)
at l (jquery.min.js?ver=3.6.1:2:80045)
at XMLHttpRequest.<anonymous> (jquery.min.js?ver=3.6.1:2:82499)
The website is picci.com and the form is the newsletter in the footer
Hi,
Thanks for your mail.
We haven’t encountered this error yet on our end. Could you please share the complete details of the issue so that we can reproduce it in the same way you are facing it?
It could be a JS conflict, so please check for any conflicts with third-party plugins.
Looking forward to hearing from you.
Best Regards,
Alexis