Inverted Checkbox Antispam

By Yevhen Horbyshyn

0+ active installationsVersion 1.0

Simple spam protection using an inverted checkbox. Compatible with Contact Form 7 and custom HTML forms.

Description

This plugin adds a hidden “inverted” checkbox to your forms to prevent bots from submitting them.

  • Adds support for Contact Form 7 via shortcode [ica_checkbox]
  • Adds JavaScript-based hidden checkbox to regular forms in the footer
  • Blocks form submission if the checkbox is unchecked or missing (typical behavior for bots)

Installation

  1. Upload the plugin files to the /wp-content/plugins/inverted-checkbox-antispam directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Go to ‘Settings’ → ‘Inverted Checkbox Antispam’ to enable protection for CF7 or regular forms.
  4. If using CF7, add [ica_checkbox] inside your form template.

FAQ

What is an inverted checkbox?

It’s a hidden checkbox that must remain checked. Bots often uncheck all checkboxes — which will fail the validation.

Does this affect user experience?

No. The checkbox is hidden using CSS/JS and is not visible or interactable for humans.

Can I use this without Contact Form 7?

Yes. It works with any standard HTML forms.

Changelog

1.0

  • Initial release
  • CF7 and standard form support
  • Admin options page
  • Safe variable handling