[WordPress] 外掛分享: Advanced Custom Fields: Validated Field

首頁外掛目錄 › Advanced Custom Fields: Validated Field
WordPress 外掛 Advanced Custom Fields: Validated Field 的封面圖片
200+
安裝啟用
★★★★
4.5/5 分(22 則評價)
3889 天前
最後更新
問題解決
WordPress 3.0+ v1.7.7 上架:2012-09-26

內容簡介

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 或更高版本。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Advanced Custom Fields: Validated Field」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon