Protect your Gravity Forms form from spam bots
In short: To stop spam on a Gravity Forms form, install the SpamKill WordPress plugin, add your license key and tick Gravity Forms on its Integrations tab. SpamKill then checks every Gravity Forms submission without a CAPTCHA, and real entries still land in Gravity Forms. It takes about 10 minutes.
Bots are filling your Gravity Forms with fake entries. The SpamKill WordPress plugin checks every submission before Gravity Forms receives it. Your fields, entries, notifications and confirmations keep working as they do now. It takes about 10 minutes.
- 6 steps
- About 10 min
- No code needed
Last verified on Gravity Forms 2.8.18, SpamKill plugin 3.0.2, WordPress 7.2
What changes, and what doesn't
- Your Gravity Forms forms, fields and design
- Entries, notifications and confirmations
- Where each form sits on your pages
- Every submission is checked before it reaches Gravity Forms
- No CAPTCHA for your visitors
- Undo it anytime by unticking one box
“SpamKill is our go-to for protection! The implementation is simple and clear, and the results are instant.”
Before you start
Have these ready so nothing stops you halfway.
- A paid SpamKill planForm protection comes with every paid plan. No account yet? Start a free trial.
- Admin access to WordPressYou need to install plugins and change their settings.
- Gravity Forms, with your form on a pageOn a multi-page form, the email field must be on the first page.
Quick setup
For returning users. Each line links to its full step.
- In WordPress, open Plugins › Add Plugin, search for SpamKill, then click Install Now and Activate. Step 1
- Copy your WordPress plugin API key from the SpamKill Console, paste it into SpamKill › Configuration › License key and click Save Settings. Step 2
- On the Integrations tab, tick Gravity Forms and click Save Settings. Step 3
- If your form has a CAPTCHA field, delete it and click Save Form. Step 4
- The Gravity Forms block and the [gravityform id="…"] shortcode are protected now. View the page while logged in to check. Step 5
- Clear your page cache. Submit [email protected] and expect SpamKill's error, then submit a real message. Step 6
Install the SpamKill plugin
Where: WordPressPluginsAdd Plugin
In your WordPress admin, go to Plugins › Add Plugin. Search for SpamKill. Click Install Now on the SpamKill plugin, then click Activate.
You should see: A SpamKill item in your admin menu.
The listing only mentions comments and reviews?
That's the free part. It's the same plugin: your license key in the next step unlocks Gravity Forms and the other form plugins.
Add your license key
Where: WordPressSpamKillConfiguration
Sign in to the SpamKill Console. On the home page, click COPY next to your WordPress plugin API key. In WordPress, open SpamKill in the admin menu. On the Configuration tab, paste the key into License key (1). Click Save Settings (2).
You should see: Pro mode active in green under the key.
Can't find a license key in SpamKill?
The Console calls it your WordPress plugin API key. It's on the home page and under Configuration › API key. One key covers all your sites.
Turn on Gravity Forms in SpamKill
Where: WordPressSpamKillIntegrations
Still in SpamKill, open the Integrations tab (1). Tick Gravity Forms (2). Scroll down and click Save Settings.
You should see: Gravity Forms still ticked after the page reloads.
Is the Gravity Forms box greyed out?
SpamKill only unlocks the box once Gravity Forms is active and Pro mode active shows on the Configuration tab. Activate Gravity Forms under Plugins, or save your license key again.
Remove Gravity's CAPTCHA field
Where: WordPressFormsYour form
Go to Forms and click your form's name to open the form editor. If the form has a CAPTCHA field, select it and delete it. Click Save Form. No CAPTCHA field? Nothing to change.
You should see: Your form without a CAPTCHA field, saved.
Why remove the CAPTCHA?
SpamKill already checks every submission, so your visitors don't need to solve a puzzle. The keys under Forms › Settings › reCAPTCHA are only used by that field.
Check how your form is placed
Where: WordPressPagesYour page
Open the page with your form in the WordPress editor. A form added with the Gravity Forms block is protected now. A form added with the [gravityform id="…"] shortcode is protected now too. If that shortcode says ajax="true", change it to ajax="false": SpamKill sends the form through its own check instead. Then view the page while you're logged in (1).
You should see: Under your form, a notice only logged-in admins see: Admin Notice: This form is protected by Spamkill.
Want SpamKill on one form only?
Leave the Gravity Forms box in SpamKill unticked and wrap that form's shortcode in [spamkill], like this: [spamkill][gravityform id="1" title="false" ajax="false"][/spamkill]. Replace 1 with the Form ID shown under Embed in the form editor.
Clear your cache and test
If your site uses a caching plugin, clear its cache so visitors get the protected form. Open your page in a private window. Submit the form with [email protected] (1). Then go back and submit it with your own details.
The first try shows That email address doesn't look right.
The second try under your form's Entries (2), at the top of the list (3).
Gravity Forms' notification email for the second try, if your form sends one.
You should see: Your form's confirmation message, or your thank-you page, after the second try.
See "Did you mean …?" under the email?
That's SpamKill's typo hint. It doesn't stop the form: click the submit button anyway.
Your Gravity Forms form is protected
- Bots are stopped before they reach Gravity Forms.
- Real leads arrive exactly as before, with no extra steps for them.
- Every block is logged in your SpamKill dashboard.
Something not working?
Find what you're seeing.
My multi-page form has no SpamKill notice
SpamKill protects a multi-page form only when its email field is on the first page. Move the email field to page 1 and click Save Form.
My form still shows a CAPTCHA
Delete the CAPTCHA field in the form editor and click Save Form. Then clear your page cache.
A notice says "This form is NOT protected by SpamKill"
Only logged-in admins see it. Open SpamKill › Integrations, tick Gravity Forms and click Save Settings. Or wrap that one form's shortcode in [spamkill].
My form still shows the old fields
SpamKill keeps a protected copy of each form. In WordPress, open SpamKill and, on the Configuration tab, click Delete Cache under SpamKill: Cache. Then clear your page cache.
A notice says the key was not accepted
The key was mistyped or your plan has ended. Copy the WordPress plugin API key from the SpamKill Console again, paste it into License key and click Save Settings.
A real visitor was told their email doesn't look right
SpamKill checks for missing @ symbols, extra spaces and common typos. The visitor can click Go back to the form, fix the address and send again.
Changed your mind? Undo in under a minute
- In WordPress, open SpamKill and go to the Integrations tab.
- Untick Gravity Forms and click Save Settings. Gravity Forms handles your forms on its own again.
- If you wrapped a shortcode in [spamkill], delete the wrap.
- Optional: add your CAPTCHA field back.
Thanks! Glad your form is protected.
Sorry about that. Tell us which step tripped you up and we'll fix the guide.
Stuck? We'll set it up with you.
Free setup help for every plan. Send us a message and we'll walk through your Gravity Forms form with you.
Get setup help