# Google reCAPTCHA V3 Add-On causes Error

**URL:** <https://community.gravityforms.com/t/google-recaptcha-v3-add-on-causes-error/18573>\
**Category:** Get Help\
**Tags:** recaptcha, has-ticket, recaptcha-add-on, conflict\
**Created:** [December 2, 2024, 11:08am UTC](https://community.gravityforms.com/t/google-recaptcha-v3-add-on-causes-error/18573 "2024-12-02T11:08:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![user6548cf89c1ff8748](https://avatars.discourse-cdn.com/v4/letter/u/898d66/32.png) [@user6548cf89c1ff8748](https://community.gravityforms.com/u/user6548cf89c1ff8748)\
**Post date:** [December 2, 2024, 11:08am UTC](https://community.gravityforms.com/t/google-recaptcha-v3-add-on-causes-error/18573/1 "2024-12-02T11:08:05Z")

</div>

Hi,

I’m using the Gravity Forms reCAPTCHA Add-On to prevent my form from spam. When ever I’m activating the add-on and try to submit my form, the message “There was a problem with your submission. Please review the fields below” appears.

I’ve already excluded the page from WP Rocket and also disabled the plugin for testing, but the message is the same.

---

<div class="post-metadata">

**Author:** ![richardw8k](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/richardw8k/32/2354_2.png) [@richardw8k](https://community.gravityforms.com/u/richardw8k)\
**Post date:** [December 2, 2024, 12:52pm UTC](https://community.gravityforms.com/t/google-recaptcha-v3-add-on-causes-error/18573/2 "2024-12-02T12:52:02Z")

</div>

I’ve replied to your support ticket about this issue.

For anyone else finding this topic, if the theme or another plugin includes a conflicting script, that could be preventing the reCAPTCHA script from adding the score to the submission, which can result in a validation error without any field-specific errors.

Caching and script optimization are the most common cause of this issue, so we do recommend excluding pages that include forms from those features:

> **[FAQ on Cache and Script Optimizer Issues](https://docs.gravityforms.com/faq-on-cache-and-script-optimizer-issues/)**
>
> Uncover solutions in Gravity Forms' FAQ on cache and script optimizer issues. Ensure smooth form operations, optimize performance!

When clearing the cache and excluding the page from caching and optimization doesn’t resolve the issue, the next troubleshooting step is to perform a conflict test, following the steps described here: [Testing Theme/Plugin Conflict](https://docs.gravityforms.com/testing-for-a-themeplugin-conflict/)

Note that for a valid conflict test, a test must be done **with only Gravity Forms & reCAPTCHA enabled.** All other plugins, **including third-party add-ons** for Gravity Forms, should be **disabled,** and a **default WordPress theme** without custom code should be used (e.g. Twenty Twenty-Four).

If you don’t feel comfortable doing this on the live site, try creating a staging clone or sandbox setup for testing.

---

<div class="post-metadata">

**Author:** ![francis](https://avatars.discourse-cdn.com/v4/letter/f/ac8455/32.png) [@francis](https://community.gravityforms.com/u/francis)\
**Post date:** [December 2, 2024, 1:34pm UTC](https://community.gravityforms.com/t/google-recaptcha-v3-add-on-causes-error/18573/3 "2024-12-02T13:34:10Z")

</div>

In our case, we figured it was the custom Gform button that was the problem.

In order to resolve the issue, we either rollback to the previous version or add the onClick event to the button.

The problem is that we have a lot of websites to cover with this fix and will take some time. Is there an official solution coming in the next update?

---

<div class="post-metadata">

**Author:** ![richardw8k](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/richardw8k/32/2354_2.png) [@richardw8k](https://community.gravityforms.com/u/richardw8k)\
**Post date:** [December 2, 2024, 1:39pm UTC](https://community.gravityforms.com/t/google-recaptcha-v3-add-on-causes-error/18573/4 "2024-12-02T13:39:22Z")

</div>

The issue with custom buttons that do not include the onlick that triggers the form submission scripts will not be resolved via an update, that is something you need to fix in your own custom code that is changing the button.

The recommended approaches to modifying the button, whilst retaining the attributes from the original button, can be found on the following page of the documentation:

> **[gform\_submit\_button](https://docs.gravityforms.com/gform_submit_button/)**
>
> This filter is executed when the form is displayed and can be used to completely change the form button tag (i.e. ).

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [December 7, 2024, 4:45am UTC](https://community.gravityforms.com/t/google-recaptcha-v3-add-on-causes-error/18573/5 "2024-12-07T04:45:01Z")

</div>


