Captcha does not work
-
After last update of Forminator plugin version 1.19.0, existing forms stopped working – CAPTCHA is not working. I can see the captcha badge inline in form, when uploaded to the Word Press page or article still can see it but when published and viewed in browser the badge disapears. So when the form is filled and send button pressed the error message occures “reCAPTCHA verification failed.”
I am using v3 reCaptcha, settings (keys) are Ok.
When I create new form captcha works.
Can you help pls.Thanks.
-
Sorry to hear you are having this issue.
Can you please share a temporary page with the form where we can see the error on your site?
Best Regards
Patrick FreitasHi Patric,
Please see this page
https://www.rys.sk/podpora/test-page/
The captcha badge is included in this form (inline) , but when loaded in the browser, no badge is visible and the form cant be Sent, gives captcha error. Thanks!
MarcelaHi Patrick,
We experience the same problem with captcha on this site as well:
https://ryscloud.sk/index.php/objednavka-cloudovych-sluzieb/
The captcha is included in the form but when viewed the batch is not visible and after filling the form it gives Captcha error. Before the last update with 1.19.0 it worked correctly.
Thanks.
MarcelaI hope you’re well today!
I see on both sites that there is a certain JS error related to one of Formiantor’s core JS libraries. It’s not directly related to reCaptcha but it may be related here.
It’s either due to some conflict or due to certain optimization options. Are you using any JS optimization plugin or tools (e.g. option of the theme) on site and if yes, could you make sure that jQuery Library is not set to be deferred/loaded-after-page-is-loaded?
If it’s set this way, please change it so it would be excluded from optimization, then clear all cache on site and check again.
If this isn’t a case or doesn’t solve the issue, update us here, please.
Kind regards,
AdamHi Adam,
Thank you for the reply. I do not use any JS optimization plugin, tool… I will yet check about the jQuery Library but I do not see any accesable settings for this option in WP or plugins.This captcha problem occures only with forms created before the last update to version 1.19.0.
Today I have created new form and it works fine (so far no problems with captcha), please see https://www.rys.sk/podpora/kontaktny-formular/So it is a little confusing why it is happening with older forms and the new ones run ok.
We have this captcha problem on two different sites with different themes.
Thank you.
MarcelaThanks for response!
So on the same site with the same Forminator version – form created with new Forminator works but not form that existed before update, right?
This is confusing indeed!
Could you try just removing reCpatcha from those older forms and re-adding them to see if that solves the issue?
If not, would you please export one of those non-working forms and share with us so we could check it on our end?
To export the form:
– go to “Forminator -> Forms” page
– click on a little “gear” icon next to the form in question
– use “Export” option there and put export code at pastebin.com service or export file on your Google Drive, Dropbox or similar account
– post direct (public) link to it in response here.Note: this export will only include form and not any submitted data (which we do not need anyway) so it’s safe to share.
Best regards,
AdamHi Adam,
Yes, that is right.
I have tried removing reCaptcha from the form and re-adding but it did not help. I can see the captcha badge when editing in WP in Preview, but then when published, it just “disapears” from the form when viewed on the web site. We were actually notified about the problem by our clients who could not fill the form corretly.Here is the link to the export file from the form that is not working correctly https://drive.google.com/file/d/1z8LdR9POannlQUFlW6JV2PCc0iRqMG1t/view?usp=sharing
The form can be viewed here: https://www.rys.sk/podpora/test-page/
And yes, the new form works fine e.g. here is the one I’ve done today with same Forminator version and no changes made in any of the other plugings or the WP theme: https://www.rys.sk/podpora/kontaktny-formular/
Thank you again very much for your help!
Kind regards,
MarcelaThank you for response and additional information!
I’ve imported your form and I could replicate this issue right away, even though I didn’t update Forminator meanwhile – I’ve imported it directly to the newest plugin version.
However, I made literally a “gazillion” of various tests with your form and my own forms (complex and simple, newly created and ones that I had there throughout many plugin version) and still – the only form I could replicate this was yours.
I also downgraded plugin on purpose, created similar form from scratch and upgraded the plugin and still no luck.
I admit I’m quite confused with this and I’m starting to think that either the form was created with really outdated version of the plugin and the update was “skipping” at least a few versions (and that caused unexpected issues) or that something completely different (and not directly related) went sideways during updates.
I did find what is causing the issue (it’s related to select field in Address field) but not why.
However, during testing I found another way that may work here. It works for me with your form and I tried that multiple times to confirm so please give it a go. Steps would be (exactly this order):
1. edit the form in question and in “Address” field switch off “country” sub-field; update the form;
2. edit the form again and remove these two fields entirely: captcha and address
3. then clone the form (“Forminator -> Forms” page -> “Duplicate” option in drop-down menu under the little “gear” icon)
4. open the new (duplicated) form for editing and
– add and configure captcha field to it; update form
– add and configure Address field but with “country” sub-field enabled; update the form
– at this point, if there is any cache on site/server (especially any object cache on server such as e.g. memcached or similar) – clear it fully; this step is only needed if there is cache, otherwise you can skip it;
– now in Address field enable “country” sub-field and update the form again5. put that (new, duplicated) form on page and test.
It should work now. This process worked for your form on my site, tested multiple times and solved the issue each time. Just remember, please, do follow these steps exactly as outlined above.
If it still doesn’t solve the issue, let me know and we’ll take it to our developers directly.
Kind regards,
AdamHi Adam,
Thank you very much for the information. I will try it step by step like you suggest and then I’ll give you the feed back.
In the meantime I have created some new forms (to replace the old ones) , all of the new ones work fine.
But still have a couple that do not work, so I will try the suggested changes on those.
Thanks!
MarcelaHi Adam,
I have followed your steps and it worked.
Thank you again for you help and advice!!!I don’t know if this info helps you to find out what causing the issue but I have started to use Forminator in March 2021, so also the form I sent you (exported file) was created around that time, the first testing submission is from March 3 2021 and since, I have installed every update available.
Thanks.
Kind regards,
Marcela
- The topic ‘Captcha does not work’ is closed to new replies.