Skip to content
Sign in

Regex Validation for Gravity Forms

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

Not scanned yet WordPress plugin 10 installs

Install in

No install steps yet

Follow the steps on the source page.

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

More from zirkel.design

  • Course Embed for Viona: embed the Viona course list of your IBB partner account with a block or a shortcode.
  • Privacy CAPTCHA for Cap: privacy-friendly spam protection for login, comments, WooCommerce and form plugins, verified against your own Cap server.
  • Zirkel AI Image Disclosure: a small, accessible label for AI-generated images, set automatically from their IPTC or C2PA metadata on upload.
  • Zirkel Virtual IBAN for WooCommerce: unique virtual bank details per order for bank transfers in WooCommerce, reconciled automatically via Stripe.

Written by Joobi from the project's own listing. See the source page

gravity formspatternregexunicodevalidation
27 Nov 2026
Version 1.1.5 released. Not scanned yet.

1.1.5

  • Fixed: the Regex Validation settings were missing from the form editor since version 1.1.0. Rules saved earlier kept working.
  • Improved: tested and confirmed compatible with WordPress 7.2.

1.1.4

  • Changed: new icon and banner on wordpress.org. No changes to the plugin itself.

1.1.3

  • Added: FAQ entries on how to report a security issue privately and where to send bugs and ideas.

1.1.2

  • Changed: the plugin page lists the right authors, zirkel.design and Daniel Sturm.

1.1.1

  • Improved: tested and confirmed compatible with WordPress 7.1.

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
25 Feb 2026Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)