🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

Gravity Forms Submission Guard Premium Add-on Setup Guide

Updated 8 min read Gravity Forms Entries & Workflow
On this page
  1. Video walkthrough
  2. Step 1: Install and Activate Your License
  3. Step 2: Fill In Your Lists
  4. Step 3: Turn the Blocklist On for a Form
  5. Step 4: Choose What Happens on a Match
  6. Show an error on the field
  7. Mark the entry as spam
  8. Step 5: Per-Field Options
  9. Step 6: Test, Export and Import Lists
  10. Limits and What Is Not Included in v1.0
  11. Troubleshooting & FAQ
  12. A submission that should be blocked gets through.
  13. Every visitor is blocked by the IP list.
  14. Why is my own test blocked by a short WordPress key?
  15. Is the visitor told their submission was blocked?
  16. Does it work with forms submitted without JavaScript or through the API?
  17. Resource Hub
  18. Script and language rules
  19. Turn it on
  20. How letters are counted
  21. Names and email addresses
  22. What happens

Video walkthrough

Block Spam Words, Email Domains & IPs in Gravity Forms
Video walkthrough: block spam words, email domains and IP ranges in Gravity Forms. Watch on YouTube

Unwanted form submissions often come back with the same words, the same throwaway email domains or from the same networks. The Gravity Forms Submission Guard Premium Add-on keeps those lists in one place, checks the forms you choose against them on the server, and lets each form decide whether a match shows an error or quietly lands in Spam.

This guide covers the lists, turning the blocklist on for a form, per-field options, what happens on a match, the tools for testing, exporting and importing lists, the limits of version 1.0 and troubleshooting.

System Requirements & Prerequisites

  • WordPress: Version 6.5 or higher
  • PHP: Version 7.4 or higher
  • Gravity Forms: Version 2.9.4 or higher (Orbital and legacy form themes are supported)
  • GravityExtra license: The add-on installed, activated and licensed with an active GravityExtra license key

Step 1: Install and Activate Your License

  1. In WordPress go to Plugins → Add New → Upload Plugin, upload the add-on ZIP file and click Activate.
  2. Go to Forms → Settings → Blocklist, enter your key in the Gravity Extra License section and click Activate License.
  3. Reload the page. The list sections and the Tools card appear below the license section.

Step 2: Fill In Your Lists

All lists live on Forms → Settings → Blocklist. Enter one entry per line and click Save Settings. Upper and lower case are treated the same. If a line is not valid for its list, nothing is saved and the message These lines are not valid for this list shows the lines to fix. Each list keeps up to 5,000 entries of up to 200 characters.

  • WordPress Disallowed Comment Keys: the list you keep in Settings → Discussion. The add-on reads it live and shows how many entries it has. Each entry is matched the way WordPress matches comments: anywhere inside a field value or the visitor IP address.
  • Blocked words and phrases: checked against text fields such as Single Line Text, Paragraph Text, Name, Address, Website and Phone. With Match whole words only on, cash blocks “Cash offer” but not “cashew”. With it off, any text that contains the word is blocked.
  • Blocked email addresses: full addresses such as name@example.com, checked against Email fields including the confirmation input.
  • Blocked email domains: example.com or @example.com blocks that domain only; *.example.com blocks its subdomains; *.ru blocks every address ending in .ru.
  • Blocked IP addresses and ranges: IPv4 and IPv6 addresses and CIDR ranges, for example 203.0.113.7, 198.51.100.0/24 or 2001:db8::/32.
  • Always allow (allow-list): an email address, a domain in the same format as above, or an IP address or range. Submissions from an allowed IP address, or with an allowed address in any Email field, are never blocked.
  • Default error message: shown on forms set to show an error, unless the form has its own message.

Step 3: Turn the Blocklist On for a Form

The blocklist is off for every form until you turn it on. Open a form and go to Settings → Blocklist:

  • Check submissions against the blocklist: the switch for this form.
  • Lists to use: tick the lists this form uses. All five are ticked by default. The allow-list always applies.
  • When a submission matches: Show an error on the field or Mark the entry as spam.
  • Error message (optional): shown with Show an error on the field. Leave it empty to use the default message.
  • Blocked this month: how many submissions this form stopped or sent to Spam since the start of the month.
Form Settings Blocklist tab with Check submissions against the blocklist on, all five lists ticked, Show an error on the field selected, a custom error message and the Blocked this month counter
Form Settings → Blocklist for a project form.

Step 4: Choose What Happens on a Match

Show an error on the field

The visitor sees your message under the field that matched, through the normal Gravity Forms validation display, and the form is not submitted. On a multi-page form the visitor is taken back to the page with that field. When the visitor IP address matches, no single field is at fault, so the message appears at the top of the form instead.

A project form with the Orbital theme where the Project details field is outlined in red with the custom error message Please remove promotional wording and try again, also listed in the summary at the top of the form
A custom error message under the Project details field with the Orbital form theme.

Mark the entry as spam

The visitor sees the normal confirmation, and the entry is saved under Entries → Spam. Gravity Forms sends no notifications and runs no feeds for spam entries. The entry gets a note such as “Blocked words and phrases matched "casino" in the field "Message".” Notes name the list, the matching entry and the field, never the submitted text; for blocked email addresses the note does not repeat the address. You can mark an entry as not spam from the entry list.

Every blocked submission, in either mode, is also counted in Blocked this month and written to the Gravity Forms log when logging is on for this add-on under Forms → Settings → Logging.

Step 5: Per-Field Options

In the form editor, open a field and its Advanced tab:

  • Skip blocklist check (visible fields): the field is never checked, for example a field where customers paste product codes.
  • Check this field against the blocklist (Hidden fields and fields with visibility Administrative or Hidden): these fields are only checked when you tick this box.

Fields hidden by conditional logic are not checked. Name and Address fields are checked input by input. Email fields are checked against the email address and domain lists, not the words list.

Step 6: Test, Export and Import Lists

The Tools card is below the settings on Forms → Settings → Blocklist:

  • Test a value: choose Text, Email address or IP address, type a value and click Test. The answer names the list and entry that would block it, the allow-list entry that lets it through, or says Not blocked. No list matches this value. Every list is used, whatever each form is set to.
  • Export lists: downloads your saved lists as a JSON file. The WordPress Disallowed Comment Keys are not included.
  • Import lists: paste the contents of an exported file and choose Add to the current lists or Replace the current lists. Every line is checked again; invalid lines are skipped and counted.
Tools card with Test a value showing Blocked by Blocked email domains (entry: *.ru), the Export lists button and the Import lists box with Add to the current lists and Replace the current lists
The Tools card after testing an email address.

Limits and What Is Not Included in v1.0

  • Checked fields: Single Line Text, Paragraph Text, Email, Name, Address, Website, Phone, Hidden and the post fields. Drop Down, Radio Buttons, Checkboxes, List, File Upload, Number and payment fields are not checked, because their values come from the form’s own choices or are not free text.
  • One set of lists per site: each form chooses which lists to use, but forms cannot have private lists of their own.
  • Phrases are matched exactly, including the spaces between words.
  • Existing entries are not scanned; only new submissions are checked.
  • License inactive: submissions are not checked until the license is active again.
  • Not included in version 1.0: regular expressions, country blocking, rate limiting, IP reputation services, CAPTCHA and disposable-email detection.

Troubleshooting & FAQ

A submission that should be blocked gets through.

Check that the form has Check submissions against the blocklist on and the right list ticked under Lists to use, that the field is not set to Skip blocklist check, and that no allow-list entry matches the visitor IP address or an Email field. Paste the value into Test a value to see which list would block it.

Every visitor is blocked by the IP list.

If your site is behind a proxy or CDN, Gravity Forms may see the proxy address for every visitor. Remove the range from Blocked IP addresses and ranges and make sure the real visitor address reaches WordPress.

Why is my own test blocked by a short WordPress key?

WordPress keys match anywhere inside a value, so a short key such as ad also matches “address”. Remove very short keys from Settings → Discussion, untick the WordPress list for the form, or add yourself to the allow-list.

Is the visitor told their submission was blocked?

With Show an error on the field the visitor sees your message. With Mark the entry as spam the visitor sees the normal confirmation.

Does it work with forms submitted without JavaScript or through the API?

Yes. The checks run on the server when the form is submitted, including submissions made with the Gravity Forms API.

Resource Hub

Script and language rules

From version 1.1.0 the blocklist can stop text written in other alphabets, a common sign of spam on sites that expect English or another language written in Latin letters.

Turn it on

  1. Go to Forms → Settings → Blocklist → Scripts and languages.
  2. Tick the scripts to block: Cyrillic, Chinese / Japanese / Korean, Arabic, Greek, Hebrew. Or turn on Allow Latin letters only to block every letter that is not Latin. Accented letters such as é, ñ, ø, ß and ă are Latin and always pass.
  3. Optional: set Block when more than this % of the letters match. 0 blocks a value with a single matching letter; 50 blocks it only when more than half of its letters match.
  4. On each form that should use it, open Settings → Blocklist and tick Scripts and languages under Lists to use. It is off for every form until you tick it.

How letters are counted

Each field value is checked on its own. Only letters count: digits, spaces, punctuation and emoji are ignored, so they never block a submission. The same fields as the other lists are checked (text, paragraph, name, address, email, website and phone).

Names and email addresses

Real people can have names in these scripts. To check only messages, open the Name or Email field in the form editor, go to the Advanced tab and tick Skip script and language check. The other lists still check that field.

What happens

The form’s action applies, as for the other lists: an error under the field, or the entry is saved as Spam with a note such as “Scripts and languages matched Cyrillic letters (100% of the letters) in the field Message”. The submitted text is never copied into the note. Everything runs on your site; no outside service is used. Test a value in the Tools card checks the script rules too.

Blocklist scripts form settings
Blocklist scripts front error
Blocklist scripts settings
Blocklist scripts test value

Still need help?

Our support team answers tickets every day, usually within a few hours.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr