Spam protection for
Stop spam on Ninja Forms forms
Ninja Forms posts its fields as a nested JSON payload, which is why several anti-spam plugins silently inspect nothing on a Ninja form.
What Gatekeep does on Ninja Forms specifically
Not a generic wrapper. A written adapter, built against the plugin's own source.
| Detail | How it works here |
|---|---|
| What is covered | The Ninja submit action, with the nested payload walked properly |
| Where it hooks in | ninja_forms_submit_data
— read from the plugin's own source, not guessed |
| If you already have a captcha | Gatekeep reads this plugin's own captcha settings and will not add a second challenge. It can either take over, or leave yours running and record what gets past it. |
| Tested against | The real plugin, installed and submitting, on WordPress 6.8 and 7.0. |
| What a visitor sees | Nothing, by default. Scoring happens on your server; a challenge only appears if you ask for one. |
The specific bit
What is different about Ninja Forms
Ninja Forms posts its fields as a JSON string inside a single request parameter. Gatekeep walks that payload, which matters because an anti-spam plugin that only reads top-level fields inspects nothing at all on a Ninja form - a fault this plugin had until version 1.31 and fixed after measuring it.
Why do other anti-spam plugins miss Ninja Forms?
Because the fields are nested inside JSON rather than posted flat. If a plugin reads only the top level of the request it sees no email address and no message, so its content checks never run.
Ninja Forms is one of 33 things Gatekeep covers. Your login page, registration, comments and checkout are forms too, and they are attacked more often because fewer people guard them. See all 33
See what is getting through on your Ninja Forms forms
Install it, let it watch for a week, and read what it found. Two minutes, no account, no card.
- Free forever
- No account needed
- Nothing to configure