Skip to content
Add a simple, non-image-based math captcha field to Gravity Forms.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
admin
assets
languages
public
.gitignore
LICENSE.txt
README.md
README.txt
gravity-forms-math-captcha.php
index.php
uninstall.php

README.md

Gravity Forms Math Captcha

Description

Gravity Forms Math Captcha is a light-weight plugin that allows you to add a simple, non-image-based math captcha field to your Gravity Forms.

When you add a Math Captcha field to your form, a simple addition or subtraction question will be randomly generated each time the form is loaded. You can choose to display the math question as numerals and math symbols, all words, or a mix of both.

Please Note

Simple math captcha validation isn't impervious to spam bots. However, in cases where image-based captcha cannot be used (e.g. due to accessibility concerns, etc.) this plugin can help add a bit of extra protection to your forms.

Installation

  1. Extract the gravity-forms-math-captcha-master.zip and remove -master from the extracted directory name
  2. Upload the gravity-forms-math-captcha folder and its contents to the /wp-content/plugins/ directory
  3. Ensure that you have an up-to-date version of Gravity Forms already installed and activated
  4. Activate the Gravity Forms Math Captcha plugin through the 'Plugins' menu in WordPress

Upon successful activation, you'll find the Math Captcha field under the "Advanced Fields" tab in the Gravity Forms editor.

Screenshots

  1. Field options for the math captcha field in the Gravity Forms editor
  2. Math captcha added to a form and displayed on the front-end

Changelog

1.0.1

  • Fix bug where "0" was not accepted as a correct answer.

1.0

  • Plugin initial release.

Credit Roll

A post on WP Smith and an answer on Stack Overflow were enormously instrumental in the production of this plugin.

Author Information

This plugin was originally created by Mandi Wise.

License

Copyright (c) 2014, Mandi Wise

Gravity Forms Math Captcha is licensed under the GPL v2 or later.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

You can’t perform that action at this time.