This Gravity Forms add-on blocks spam using a non-obtrusive anti-spam measure. There are no settings or configuration needed: all you need to do is activate the plugin!
Is the Gravity Forms honeypot field not working for you? 🍯 🐝
Zero Spam is better than the Gravity Forms anti-spam honeypot field. If you’re getting spammed, try this plugin.
Use instead of reCaptcha
reCaptcha is user-hostile! Use this instead! Users don’t need to click stoplights, crosswalks, or bicycles when you use this plugin to stop spam.
Enable or disable per-form
If you only want the plugin for specific forms, that’s possible! The plugin adds a simple “Prevent spam using Gravity Forms Zero Spam” setting to each form (requires Gravity Forms 2.5 or newer).
Requires Gravity Forms.
Brought to you by GravityKit. We create essential Gravity Forms Add-Ons.
Does the Gravity Forms Zero Spam plugin stop email notifications from being emailed when a message is considered spam?
Yes! When this plugin marks an entry as spam, it prevents processing of any configured notifications and add-on feeds.
Note: When an entry is marked as Spam, it also prevents use of the configured confirmation. Users submitted a entry marked as Spam will see the default Gravity Forms “Thanks for contacting us! We will get in touch with you shortly.” confirmation text instead.
I have Gravity Forms 2.7 installed. Do I need this plugin?
Gravity Forms 2.7 added functionality that has similar features to this plugin, but we’re adding additional features soon—keep this plugin installed!
Does this plugin work in combination with other CAPTCHAs, honeypot fields, or spam blocker plugins?
Yep, you can use this plugin in combination with all other spam-blocking plugins:
- Gravity Forms’ Google reCaptcha feature
- Gravity Forms’ honeypot fields
- WP Armor
Zero Spam will not interfere with the operation of those plugins. It also doesn’t interfere with Gravity Forms’ built-in honeypot functionality.
What version of Gravity Forms does this work with?
This works with all Gravity Forms releases after v2.3 (released June 2017).
Will this block spam comments or registrations on my site?
No. For that, we recommend Ben Marshall‘s WordPress Zero Spam plugin.
How do I disable Zero Spam on specific forms?
- Go to the form
- Click on Settings
- Under Form Options, disable “Prevent spam using Gravity Forms Zero Spam”. Don’t see the setting? This feature requires Gravity Forms 2.5 or newer.
- Save the settings
New form submissions will not be checked using Zero Spam.
I only want on sepecific forms. How do I disable Zero Spam by default?
To disable by default, add this code to your site (here’s how):
add_filter( 'gf_zero_spam_check_key_field', '__return_false' );
Once you have added that code to your site:
- Go to the form
- Click on Settings
- Under Form Options, enable “Prevent spam using Gravity Forms Zero Spam”. Don’t see the setting? This feature requires Gravity Forms 2.5 or newer.
- Save the settings
Now that form will use Zero Spam.
Is this plugin PHP 7 and PHP 8 compatible?
All entries are going to spam. What can I do?
First, de-activate and re-activate the plugin. Then let us know on the support tab!
Contributors & Developers
“Gravity Forms Zero Spam” is open source software. The following people have contributed to this plugin.Contributors
Translate “Gravity Forms Zero Spam” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
1.3 on February 18, 2023
Gravity Forms 2.7 added improved spam blocking in 2.7. Keep this plugin installed—it won’t hurt, and we’re about to add some great new features soon! ❤️ Thanks to Richard Wawrzyniak for the code updates in this release.
- Added: Support for API submissions (which don’t have a form submit action)
- Fixed: Gravity Forms 2.7 support
- Fixed: PHP 8.0 warnings
- Tested with WordPress 6.2
1.2.3 on August 11, 2022
- Tweak: Changed the autocomplete on the hidden field to
off. Thanks for the suggestion, Ross!
1.2.2 on August 11, 2022
- Improved: Prevent autocomplete on the hidden field. This may help prevent some reported false-positives.
- Tested with WordPress 6.0.1
1.2.1 on February 16, 2022
- Improved: Don’t check for spam on the Gravity Forms Preview page
- Tested with WordPress 5.9
1.2 & 184.108.40.206 on December 10, 2021
- New! Added a per-form setting “Prevent spam using Gravity Forms Zero Spam” that enables or disables Gravity Forms Zero Spam from processing! Check out the FAQ to learn how to use this setting. Note: this feature requires Gravity Forms 2.5 or newer.
1.1.3 on August 9, 2021
- Enhancement: Adds an entry note when an entry is marked as spam. Thanks to Gravity Forms for the enhancement!
1.1.2 on July 5, 2021
- Fixed: Entries going to spam on websites that have plugins that override random password generation. Thanks, @thomascharbit!
1.1.1 on April 22, 2021
1.1 on April 21, 2021
- The script is only loaded when forms are displayed
- jQuery is always available because Gravity Forms loads it as-needed
1.0.7 on March 18, 2021
- Fixed: All entries marked as spam for AJAX-enabled forms. Sorry, folks! Won’t happen again.
- Went back to using jQuery to listen to form submissions.
220.127.116.11 on March 15, 2021
1.0.6 on March 11, 2021
- Improved: No longer requires jQuery
- Fixed: Only checks for spam on submissions that were submitted by a form, not for entries created programatically
1.0.5 on February 16, 2021
The Gravity Forms Zero Spam plugin is now maintained by GravityKit. We look forward to continuing to improve this simple, effective spam blocker for Gravity Forms. Thanks to GoWP for their great work!
- Fixed: Sanitized key, in case there were any unsafe characters generated by overriding the
- Fixed: Made
GF_Zero_Spam::deactivatea static method
- Updated: Now using the
wp_print_footer_scriptsaction to add the script (was
- Should fix ‘jQuery undefined’ errors
- Added support for multi-page forms (thanks, @supporthero)
- Update FAQ and compatibility notes in readme.txt
- Fix issue with forms not submitting after an initial validation error
- Initial version