plugin-icon

Regex Validation for Gravity Forms

投稿者: Daniel Sturm·
Adds custom regex validation with Unicode support and presets to Gravity Forms fields.
バージョン
1.0.3
最終更新日時
Feb 25, 2026
Regex Validation for Gravity Forms

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
無料有料プラン
インストールすることで、WordPress.com の利用規約サードパーティプラグイン利用規約に同意したことになります。
最大テスト回数
WordPress 6.9.4
このプラグインをダウンロードして、 サイトに使用できます。