# Gravity Forms reCAPTCHA causing form submission issues

**URL:** <https://community.gravityforms.com/t/gravity-forms-recaptcha-causing-form-submission-issues/19171>\
**Category:** Get Help\
**Tags:** captcha, recaptcha-add-on\
**Created:** [April 1, 2025, 3:51pm UTC](https://community.gravityforms.com/t/gravity-forms-recaptcha-causing-form-submission-issues/19171 "2025-04-01T15:51:44Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![cododesign](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/cododesign/32/16411_2.png) [@cododesign](https://community.gravityforms.com/u/cododesign)\
**Post date:** [April 1, 2025, 3:51pm UTC](https://community.gravityforms.com/t/gravity-forms-recaptcha-causing-form-submission-issues/19171/1 "2025-04-01T15:51:44Z")

</div>

We are experiencing issues when using the Gravity Forms reCATPCHA add-on. Forms will not submit while it is activated. Using the latest versions of Gravity Forms and the add-on.

---

<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:** [April 1, 2025, 3:56pm UTC](https://community.gravityforms.com/t/gravity-forms-recaptcha-causing-form-submission-issues/19171/2 "2025-04-01T15:56:09Z")

</div>

If the page containing the form has a JavaScript issue, the reCAPTCHA response won’t be added to the submission, which can result in a general form validation error without any field-specific errors.

Caching and optimization plugins (e.g. Speed Optimizer, WP Rocket) and services (e.g. host provided, Cloudflare and their Rocket Loader feature) have been known to cause issues like this. We recommend excluding pages that include forms from those features.

See the following page of the documentation for more details:

> **[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!

---

<div class="post-metadata">

**Author:** ![cododesign](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/cododesign/32/16411_2.png) [@cododesign](https://community.gravityforms.com/u/cododesign)\
**Post date:** [April 1, 2025, 4:06pm UTC](https://community.gravityforms.com/t/gravity-forms-recaptcha-causing-form-submission-issues/19171/3 "2025-04-01T16:06:58Z")

</div>

The issue appears on a local environment (spun up with Local) using just Gravity forms, the add-on extension and the Twenty Twenty-Five theme.

---

<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:** [April 1, 2025, 4:11pm UTC](https://community.gravityforms.com/t/gravity-forms-recaptcha-causing-form-submission-issues/19171/4 "2025-04-01T16:11:58Z")

</div>

In that case, the next most common reason is that the reCAPTCHA response failed validation. You can test with logging enabled to confirm if that is the cause:

> **[Logging and Debugging](https://docs.gravityforms.com/logging-and-debugging/)**
>
> For quite a while, enabling logging within Gravity Forms has been a go-to method for debugging any issues within Gravity Forms. As of Gravity Forms version 2.2, logging functionality has been moved from a separate add-on to becoming a core feature of...

---

<div class="post-metadata">

**Author:** ![cododesign](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/cododesign/32/16411_2.png) [@cododesign](https://community.gravityforms.com/u/cododesign)\
**Post date:** [April 1, 2025, 4:53pm UTC](https://community.gravityforms.com/t/gravity-forms-recaptcha-causing-form-submission-issues/19171/5 "2025-04-01T16:53:13Z")

</div>

Here’s what I get from the log:

25-04-01 16:46:30.489418 - DEBUG → Gravity\_Forms\Gravity\_Forms\_RECAPTCHA\GF\_RECAPTCHA::validate\_submission(): Validating form (#5) submission.  
2025-04-01 16:46:30.489479 - DEBUG → Gravity\_Forms\Gravity\_Forms\_RECAPTCHA\GF\_RECAPTCHA::initialize\_api(): API Initialized.  
2025-04-01 16:46:30.489489 - DEBUG → Gravity\_Forms\Gravity\_Forms\_RECAPTCHA\GF\_RECAPTCHA::validate\_submission(): Validating reCAPTCHA v3.  
2025-04-01 16:46:30.489500 - DEBUG → Gravity\_Forms\Gravity\_Forms\_RECAPTCHA\GF\_Field\_RECAPTCHA::is\_valid\_field\_data(): Input input\_0ccb4d249aa69678abf7b34cbc036139 empty.

---

<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:** [April 1, 2025, 5:07pm UTC](https://community.gravityforms.com/t/gravity-forms-recaptcha-causing-form-submission-issues/19171/6 "2025-04-01T17:07:24Z")

</div>

That confirms something is preventing the reCAPTCHA script running on submission. Check the browser developer console for JS issues.

---

<div class="post-metadata">

**Author:** ![cododesign](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/cododesign/32/16411_2.png) [@cododesign](https://community.gravityforms.com/u/cododesign)\
**Post date:** [April 1, 2025, 5:52pm UTC](https://community.gravityforms.com/t/gravity-forms-recaptcha-causing-form-submission-issues/19171/7 "2025-04-01T17:52:54Z")

</div>

i can only see it briefly before it refreshes, but it says “Uncaught (in promise)”. I’m unable to expand it before the page refreshes and it goes away.

 ![Screenshot 2025-04-01 at 1.51.41 PM](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/3X/f/3/f3a39ecef009d252827c78f2883e1fc3ecb2ed41.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/f/fef63f0599c45e0218c30d9f5d7ca8bff9b00189.png) [@system](https://community.gravityforms.com/u/system)\
**Post date:** [May 1, 2025, 5:53pm UTC](https://community.gravityforms.com/t/gravity-forms-recaptcha-causing-form-submission-issues/19171/8 "2025-05-01T17:53:52Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
