Description
Bentostudio Antispam for CF7 adds four independent protection methods to Contact Form 7. Each one can be switched on or off in the plugin settings.
Challenge
- Shows an input field with a random character string.
- The string is loaded with a small script after the page has loaded, so the challenge works on cached pages. JavaScript is required, as it is for Contact Form 7 itself.
- The answer is verified after submission with a signed hash. Every string can be used only once; a short-lived marker is written only for delivered submissions.
- Multisite compatible: tokens are bound to the site and markers are stored per site.
- Length and character set are configurable. The plugin is translation-ready.
Honeypot
- Adds an invisible field to the form. Bots fill it in and are rejected silently.
Blacklist
- Rejects submissions that contain one of the configured entries (e-mail addresses, domains, phrases).
- Works for all Contact Form 7 forms, without the antispam tag.
Link limit
- Rejects submissions with more links than allowed (default: 2).
- Fields of type URL are not counted.
- Works for all Contact Form 7 forms, without the antispam tag.
Dashboard
- Number of blocked submissions, split by method.
- Status of the four methods and a list of the forms that use the antispam tag.
Data Privacy
- Only counters are stored. No IP addresses, e-mail addresses or message contents are logged.
Installation
Requires Contact Form 7 version 6.2 or higher.
- Upload the plugin folder to your WordPress installation.
- Activate the plugin under Plugins > Installed Plugins.
- Open Contact > Antispam > Settings and choose the protection methods.
- Add the tag
[bsascf7 antispam]to a form. The tag generator of the form editor offers the same tag under “Antispam”.
FAQ
-
Do challenge and honeypot need the tag?
-
Yes. Both are rendered by the
[bsascf7 name]tag. The blacklist works without it. -
I enabled the challenge, but visitors get an error.
-
Clear the page cache. Cached pages rendered before the challenge was enabled or before updating to 1.1.0 do not contain the current markup.
-
Does the challenge need the REST API?
-
No. The string is loaded through admin-ajax.php. Contact Form 7 itself still needs the REST API to submit forms.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Bentostudio Antispam for CF7” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Bentostudio Antispam for CF7” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.1.0
- Challenge strings are loaded after page load and can be used only once.
- Works with page caches and multisite.
- The info text and error message settings were removed; the texts follow the language of the site or form.
- Minimum submit time and separate messages for expired and already used strings.
- Clear the page cache after updating.
1.0.0
- Initial release.