BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
Regex Validation for Gravity Forms icon
Maintained Tested up to 7.0.6

Regex Validation for Gravity Forms

Adds custom regex validation with Unicode support and presets to Gravity Forms fields.

Active installs10+10+ tier
Downloads · 30d82▲ +105% vs prev. 30d
Rating—0 reviews
Health score51/100Fair
All-time downloads761Since Feb 2026
Support resolved—No recent threads
RequiresWP 6.0PHP 8.3+
Downloads · 7d15▼ -11.8% week over week
Our verdict

Use with caution

Regex Validation for Gravity Fo… works, but test it on a staging site before relying on it in 2026. It runs on 10+ sites and was last updated 4 months ago, and scores 51/100 on our health check.

  • Small user base (10+ active installs)
  • Very few reviews so far
  • Needs PHP 8.3 or newer

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

258Jul 7Aug 20Oct 4
Yesterday2
Daily average (1y)3
Peak day49Feb 25, 2026
Last 12 months768

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Regex Validation for Gravit… stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
gravity forms >100 1,599 Best gravity forms plugins →
pattern >100 3,239 Best pattern plugins →
regex #24 852 Best regex plugins →
unicode #26 454 Best unicode plugins →
validation >100 8,272 Best validation plugins →

Version adoption

Share of active sites per release.

  • 1.1100.0%

About Regex Validation for Gravity Forms

From the official readme · v1.1.0

Description

Regex Validation for Gravity Forms adds a powerful regex validation option to your Gravity Forms fields. Define custom regular expression patterns or choose from built-in presets to validate user input — both server-side and client-side.

Features

  • Custom regex patterns — Add any regular expression to validate field input
  • Unicode support — Full Unicode character class support (\p{L}, \p{N}) for international names and text
  • Built-in presets — Quick-select common patterns for names, emails, phone numbers, and more
  • Server-side validation — Secure PHP validation that can’t be bypassed
  • Client-side validation — Instant feedback on input change using JavaScript
  • Compound field support — Works with Name fields (validates each sub-input individually)
  • Custom error messages — Define user-friendly validation messages per field
  • Extensible — Add your own presets and field types via filters
  • Accessible — Error messages use role="alert" for screen readers

Supported Field Types

  • Text
  • Name (with individual sub-input validation)
  • Email
  • Phone
  • Website
  • Textarea

Built-in Presets

  • Name — Unicode letters, spaces, hyphens, apostrophes
  • Email — RFC 5322 compliant
  • US Phone Number — Common US formats
  • International Phone Number — E.164 format
  • Alphanumeric — Unicode letters and numbers only
  • No Special Characters — Unicode letters, numbers, and spaces only

Installation

From WordPress Admin

  1. Upload the regex-validation-for-gravity-forms folder to /wp-content/plugins/
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Via Composer

composer require zirkeldesign/regex-validation-for-gravity-forms

Requirements

  • WordPress 6.0 or later
  • PHP 8.2 or later
  • Gravity Forms 2.5 or later

Frequently asked questions

How do I add a regex pattern to a field?

Edit your form in Gravity Forms, select a supported field, and look for the “Regex Validation” section under the field settings. You can either select a preset pattern or enter your own custom regex.

Does it support Unicode characters?

Yes! All patterns use the /u flag for PHP and the u flag for JavaScript regex, enabling full Unicode property support like \p{L} for any letter in any language.

Can I add my own presets?

Yes, use the gf_regex_validation_presets filter: add_filter('gf_regex_validation_presets', function (array $presets): array { $presets['zip_code'] = [ 'label' => 'US Zip Code', 'pattern' => '/^\d{5}(-\d{4})?$/', 'message' => 'Please enter a valid US zip code.', ]; return $presets; });

Can I add support for additional field types?

Yes, use the gf_regex_validation_field_types filter: add_filter('gf_regex_validation_field_types', function (array $types): array { $types[] = 'number'; return $types; });

Is client-side validation secure?

Client-side validation provides instant user feedback but should never be relied upon for security. This plugin always performs server-side validation as well, which cannot be bypassed.

Changelog

1.1.0

  • Added: Advanced Mode for Name and Address fields — set a different validation rule for each input (e.g. validate ZIP codes differently than city names)
  • Added: Support for Address fields, with presets for US, German, Canadian, and International addresses
  • Added: Smart preset suggestions based on the field type you’re editing
  • Added: More built-in presets for ZIP codes, postal codes, state abbreviations and other common patterns
  • Fixed: Name fields no longer apply the same rule to every input (Prefix, First Name, Last Name, etc.)
  • Fixed: Hidden inputs in Name and Address fields are no longer validated
  • Improved: Field editor styling now matches the Gravity Forms design, and admin scripts load faster

1.0.4

  • Fixed: Prevented a form editor JavaScript error by loading plugin admin scripts at the correct time

1.0.2

  • Fixed: Admin field settings not appearing in Gravity Forms editor
  • Improved: Code quality and WordPress coding standards compliance
  • Enhanced: Development tooling for better maintainability

1.0.1

  • Fixed: WordPress Plugin Check compliance issues
  • Improved: Security and code standards

1.0.0

  • Initial release
  • Server-side and client-side regex validation
  • Built-in presets for common patterns
  • Unicode support with \p{L} and \p{N} character classes
  • Name field compound input support
  • Extensible via gf_regex_validation_presets and gf_regex_validation_field_types filters

Full changelog on WordPress.org →

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Regex Validation for Gravity… alternatives

All gravity forms plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Gravity Forms Zero Spam Gravity Forms Zero Spam Block form spam in Gravity Forms with an invisible token check, email rejection rules, and… by GravityKit 100K+ ★★★★★★★★★★ 4.3 (24) 1 month ago 84
2 Advanced Custom Fields: Gravity Forms Add-on Advanced Custom Fields: Gravity Forms Add-on Provides an Advanced Custom Field which allows a WordPress user to select a Gravity Form as… by DannyvanHolten 30K+ ★★★★★★★★★★ 4.2 (14) 10 months ago 55
3 Gravity PDF Gravity PDF Automatically generate, email and download PDF documents from Gravity Forms entries by Jake Jackson 20K+ ★★★★★★★★★★ 4.9 (318) 1 year ago 55
4 Gravity Forms CLI Add-On Gravity Forms CLI Add-On Manage Gravity Forms on the command line. by Rocketgenius 20K+ ★★★★★★★★★★ 4.4 (7) 6 days ago 83
5 Event Tracking for Gravity Forms Event Tracking for Gravity Forms Easily add event tracking using Gravity Forms and your Google Analytics or Google Tag… by Rocketgenius 10K+ ★★★★★★★★★★ 5 (37) 2 years ago 50
6 GravityExport Lite for Gravity Forms GravityExport Lite for Gravity Forms Export all Gravity Forms entries to Excel (.xlsx) or CSV via a download button or a secret… by GravityKit 10K+ ★★★★★★★★★★ 5 (39) 2 days ago 94
7 Gravity Forms + Custom Post Types Gravity Forms + Custom Post Types Map your Gravity-Forms-generated posts to a custom post type and/or custom taxonomies. by Dave from Gravity Wiz 10K+ ★★★★★★★★★★ 4.4 (46) 3 weeks ago 76
8 Gravity Forms Email Blacklist Gravity Forms Email Blacklist Add-on for Gravity Forms to create a Blacklisting of specific emails or domains for the… by CrossPeak 10K+ ★★★★★★★★★★ 4.3 (15) 4 months ago 67
9 Multiple Columns for Gravity Forms Multiple Columns for Gravity Forms Introduces new form elements into Gravity Forms which allow for simple column creation. by WebHolism 10K+ ★★★★★★★★★★ 4.5 (30) 2 months ago 76
10 Gravity Forms No CAPTCHA reCAPTCHA Gravity Forms No CAPTCHA reCAPTCHA Adds "No CAPTCHA reCAPTCHA" field to Gravity Forms as an alternative CAPTCHA option by folkhack 10K+ ★★★★★★★★★★ 4.8 (26) 9 years ago 46

FAQ

Regex Validation for Gravity Forms: quick answers

Straight answers, pulled from live WordPress.org data.

Live data from WordPress.org · checked Oct 5, 2026

Is Regex Validation for Gravity Fo… free?

Yes. Regex Validation for Gravity Fo… is free to download and use from the official WordPress.org plugin directory.

Is Regex Validation for Gravity Fo… safe to use in 2026?

Regex Validation for Gravity Fo… works, but test it on a staging site before relying on it in 2026. It runs on 10+ sites and was last updated 4 months ago, and scores 51/100 on our health check.

How many websites use Regex Validation for Gravity Fo…?

Regex Validation for Gravity Fo… is active on 10+ WordPress websites and has been downloaded 761 times since it launched in February 2026. It was downloaded 82 times in the last 30 days.

Does Regex Validation for Gravity Fo… work with WordPress 7.1?

Regex Validation for Gravity Fo… is officially tested up to WordPress 7.0.6, while the latest release is 7.1.2. It may still work, but try it on a staging site first.

What PHP version does Regex Validation for Gravity Fo… need?

Regex Validation for Gravity Fo… requires PHP 8.3 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Regex Validation for Gravity Fo… last updated?

The latest version, 1.1.0, was released on June 12, 2026 (4 months ago).

Who makes Regex Validation for Gravity Fo…?

Regex Validation for Gravity Fo… is developed and maintained by Daniel Sturm.

What are the best alternatives to Regex Validation for Gravity Fo…?

The most popular alternatives to Regex Validation for Gravity Fo… are Gravity Forms Zero Spam (100K+ installs), Advanced Custom Fields: Gra… (30K+ installs) and Gravity PDF (20K+ installs).

Powered by PageForge

Want thousands of pages that rank like these? Build them in an afternoon.

This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.

  • CSV, Google Sheets & API data sources
  • AI content, schema & internal links per page
  • Works with Elementor, Gutenberg, Yoast & Rank Math
  • Free on WordPress.org — no credit card
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.