[WordPress] 外掛分享: Regex Validation for Gravity Forms

首頁外掛目錄 › Regex Validation for Gravity Forms
WordPress 外掛 Regex Validation for Gravity Forms 的封面圖片
全新外掛
安裝啟用
尚無評分
46 天前
最後更新
問題解決
WordPress 6.0+ PHP 8.3+ v1.0.3 上架:2026-02-24

內容簡介

總結:Regex Validation for Gravity Forms 為你的 Gravity Forms 欄位增加了強大的正則表達式驗證選項。你可以定義自訂的正則表達式模式或選擇內置預設以驗證用戶輸入,無論是在伺服器端還是客戶端。

- 什麼是 Regex Validation for Gravity Forms 的功能?
- 這個外掛支援哪些欄位類型?
- 有哪些內建的預設正規表達式模式?

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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

延伸相關外掛

文章
Filter
Apply Filters
Mastodon