CF 5.7.1 conflict with “Invisible reCaptcha” plugin
-
Problem
——-
We found that CF 5.4 caused the page to refresh after submission, so downgraded to 5.3.2. Decided to try again with 5.4.1.I noticed odd anchor tags like #wpcf7-f123-o1 in the URL, as described here:
https://contactform7.com/faq/after-submission-my-contact-form-redirects/
That page leads to this helpful article:
https://contactform7.com/why-isnt-my-ajax-contact-form-working-correctly/
My theme has the proper wp_head() and wp_footer() calls, so I decided to watch the Firefox debugging Console during form submission. I saw some reCaptcha traffic.
I had been suing the “Invisible reCaptcha” plugin to handle all reCaptcha on my site (site logons, registration, comments, and contact forms). Unfortunately that plugin hasn’t been updated in over a year and “may not be compatible with your version of WordPress.”
Solution
———
Deactivate Invisible reCaptcha for contact forms (at least). Set up Contact Form 7’s built-in reCaptcha feature (had to get a v3 key as I had been using v2). After that, form submission works properly, displaying the message using Ajax and without refreshing the page.
- The topic ‘CF 5.7.1 conflict with “Invisible reCaptcha” plugin’ is closed to new replies.