Math Captcha for Gravity Forms
·
A lightweight, server-side math CAPTCHA for Gravity Forms. No JavaScript, no external services, no tracking.
Math Captcha for Gravity Forms adds a basic “what is X + Y” challenge to any Gravity Forms form, helping block automated spam submissions without relying on third-party CAPTCHA services, external API calls, or client-side JavaScript.
How it works
- Add three fields to your Gravity Forms form:
- A Number (or Hidden) field with Admin Label
num1 - A Number (or Hidden) field with Admin Label
num2 - A Number field with Admin Label
math_answer, where the visitor types their answer
- A Number (or Hidden) field with Admin Label
- Add an HTML field containing the placeholder
{math_question}wherever you want the question text to appear. - The plugin fills
num1andnum2with random numbers on each page load, replaces{math_question}with the rendered question, and validatesmath_answerserver-side on submit.
The same numbers persist across a failed-validation reload, so the question a visitor sees always matches what’s being validated.
Why server-side?
No JavaScript means no scripts to block, no client-side bypass, and no impact on page-load performance.
This plugin is independently developed and is not affiliated with, endorsed by, or sponsored by Rocketgenius, Inc. or Gravity Forms.
