
前言介紹
- 這款 WordPress 外掛「Advanced Custom Fields: Validated Field」是 2012-09-26 上架。
- 目前有 200 個安裝啟用數。
- 上一次更新是 2015-08-19,距離現在已有 3843 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.0 以上版本才可以安裝。
- 有 22 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
acf | regex | validate | validation | advanced custom fields |
內容簡介
Validated Field 外掛
Validated Field 外掛是針對 Advanced Custom Fields 的一個擴充套件,
提供了一個搜尋器以包裹其它的輸入類型,使你可以使用 jQuery 的 Masked Input Plugin 提供客戶端的輸入掩碼,以及使用 PHP 正則表達式
或 PHP 代碼進行服務器端驗證的選項,並可以通過 post_type 和 meta_key、post_type 或整個網站,確保所有文章中字段的唯一性,或者確保單個文章的 meta_key 唯一,還可以標記一個字段為只讀。透過 ACF 欄位組編輯器編輯你的欄位,使用具備自動完成和語法驗證的 ACE.js IDE 更新程式碼。
功能
輸入掩碼 - 輕鬆設置文本輸入的掩碼,以確保數據格式正確。
服務器端驗證 - 使用服務器端 PHP 代碼或正則表達式驗證輸入。
唯一性 - 確保所更新的值尚未使用。
重複器字段 - 在 重複器欄位 中進行驗證的字段。
唯讀 - 指定一個字段為唯讀,允許它被顯示但不能被更新。
WordPress 多語言 - 與使用 WPML 外掛的多語言網站兼容。
條件邏輯 - 根據其他“開關”字段的值顯示和隱藏驗證的字段。
相容性
需要 Advanced Custom Fields 版本 4.0 或更高版本。
原文外掛簡介
Validated Field Add-On
The Validated Field add-on for Advanced Custom Fields
provides a wrapper for other input types which allows you to provide client side input masking using the jQuery
Masked Input Plugin, server side validation using either PHP regular expressions
or PHP code, the option of ensuring a field’s uniqueness for all posts by post_type and meta_key, post_type, or site wide, or a
single post by meta_key, as well as marking a field as read-only. Edit your fields in the ACF Field Group editor and update code using the ACE.js
IDE with autocomplete and syntax validation.
Features
Input Masking – easily set masks on text inputs to ensure data is properly formatted.
Server-Side Validation – validate the inputs using server side PHP code or regular expressions.
Uniqueness – ensure that the value being updated is not already in use.
Repeater Fields – validated fields within a Repeater Field.
Read Only – specify a field as read-only allowing it to be displayed but not updated.
WordPress Multi Language – compatible with multilingual sites using the WPML plugin.
Conditional Logic – show and hide validated fields based on the values of other “switch” fields.
Compatibility
Requires Advanced Custom Fields version 4.0 or greater.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Advanced Custom Fields: Validated Field」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
0.1 | 1.0 | 1.1 | 1.2 | 1.3 | 1.4 | 1.5 | 1.6 | 1.7 | 1.0.1 | 1.0.2 | 1.0.3 | 1.0.4 | 1.0.5 | 1.0.6 | 1.0.7 | 1.1.1 | 1.2.1 | 1.2.2 | 1.2.3 | 1.2.4 | 1.2.5 | 1.2.6 | 1.2.7 | 1.3.1 | 1.5.1 | 1.7.1 | 1.7.2 | 1.7.3 | 1.7.4 | 1.7.5 | 1.7.6 | 1.7.7 | trunk | 1.1.1.1 | 1.2.5.1 |
延伸相關外掛(你可能也想知道)
Search Regex 》Search Regex 提供了強大的搜尋和替換函數,可用於 WordPress 文章、頁面、自定義文章類型等數據源的搜尋與替換,這些功能超越了標準搜尋功能,讓你可以搜尋...。Make Clickable Tweet 》在最近的項目中,我有一堆推文內容需要轉換為可點擊的連結,包括URL、hashtag和使用者提到。我發現 WordPress 內建了一個名為 make_clickable() 的函數,但它...。
Regex Textfield: Gravityforms Add-on 》此外掛的功能為讓 WordPress 網站擁有者可以指定一個正則表達式字串以供 Gravity Forms 文字欄位應用。, 設定好正則表達式字串後,使用者只能在輸入符合該正...。rexCrawler 》rexCrawler使用正則表達式來爬取指定的網站。, 這些網站會被儲存在用戶自定義的群組中,然後可以使用短代碼在WordPress頁面/文章中顯示。, rexCrawler爬取的...。
HTML Regex Replace 》HTML Regex Replace 外掛基於正則表達式的尋找和替換機制,在你的文章/頁面中尋找 HTML 或文本,並使用預定義的「新字串」替換它。, 無限的替換規則。你可以...。
Webidextrous Time Delayed Redirects 》### 總結:, Webidextrous Time Delayed Redirects 是一個專業的 WordPress 外掛,旨在幫助使用者在進行網域遷移時提供流暢的使用者體驗。該外掛不會立即將使...。Hide/Remove Text 》這款 WordPress 外掛可以輕鬆地隱藏/移除電子郵件地址、網址、電話號碼和其他文字,以避免展示給使用者。實際的文本不會被刪除,僅會從網站訪問者的視覺範圍...。
