# Add ReCaptcha to All Forms

**URL:** <https://community.gravityforms.com/t/add-recaptcha-to-all-forms/5660>\
**Category:** Get Help\
**Tags:** recaptcha, invisible-recaptcha, has-ticket\
**Created:** [August 10, 2020, 7:16pm UTC](https://community.gravityforms.com/t/add-recaptcha-to-all-forms/5660 "2020-08-10T19:16:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![blainwebdesign](https://avatars.discourse-cdn.com/v4/letter/b/a87d85/32.png) [@blainwebdesign](https://community.gravityforms.com/u/blainwebdesign)\
**Post date:** [August 10, 2020, 7:16pm UTC](https://community.gravityforms.com/t/add-recaptcha-to-all-forms/5660/1 "2020-08-10T19:16:54Z")

</div>

I am looking for a programatic way to add the V2 ReCAPTCHA to all of the forms generated by Gravity Forms. We have a lot of clients that have seen a MAJOR increase in spam since COVID and to manually add ReCAPTCHA to all of their forms would be a nightmare.

Ideally I want to just create a plugin that will programatic add the ReCAPCHA field to all of the forms and remove it from the Admin side so no one adds a double on accident in the future. I can then push that out to all the clients sites. I am somewhat familiar with the Hooks and Filters for Gravity Forms, but I’m not sure where to start on this one.

---

<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:** [August 13, 2020, 9:04am UTC](https://community.gravityforms.com/t/add-recaptcha-to-all-forms/5660/2 "2020-08-13T09:04:00Z")

</div>

The [gform\_pre\_render](https://docs.gravityforms.com/gform_pre_render/) and [gform\_pre\_validation](https://docs.gravityforms.com/gform_pre_validation/) filters could be used to add the field for form display and validation. See the following example: [https://d.pr/n/d6Gdyo](https://d.pr/n/d6Gdyo)

---

<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:** [January 4, 2022, 5:57pm UTC](https://community.gravityforms.com/t/add-recaptcha-to-all-forms/5660/3 "2022-01-04T17:57:49Z")

</div>


