Regex Textfield: Gravityforms Add-on

描述

This plugin is created to enable WordPress site owners to specify a regex string to be used with Gravity Forms text fields.
Once a regex string is specified, the user can’t submit that form until the user enters a text that comply with the regex string.

螢幕截圖

  • General tab of the Regex Textfield field in the form editor.
  • General tab of the Regex Textfield field with a filled in regex string.
  • Appearance tab of the Regex Textfield field with a custom validation message.
  • Form preview with the Regex Textfield field with an incorrect input.
  • Form preview with the Regex Textfield field where the field is set to be required, but no regex string is defined.

安裝

  1. Upload the plugin folder to your /wp-content/plugins/ folder.
  2. Go to the Plugins page and activate the plugin.
  3. Create a GravityForm form and go the edit page.
  4. Within the Advanced Fields section in the editor, select “Regex Textfield”.
  5. In the General tab of the Field Settings fill in the regex string you want.
  6. In the Appearance tab of the Field Settings, you can specify the
    “Custom Validation Message”. This message will be shown to the user when a wrong
    input is given is submitted.

常見問題

How do I use this plugin?

This plugin requires you to have Gravity Forms installed (min version 2.5).

How to uninstall the plugin?

Simply deactivate and delete the plugin.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Regex Textfield: Gravityforms Add-on” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

Regex Textfield: Gravityforms Add-on 外掛目前已有 1 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Regex Textfield: Gravityforms Add-on 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.2

  • New: Tested with WP 6.6.2.
  • New: Added an example to the field tooltip.
  • New: Run the Plugin check to make sure the plugin comply with the WordPress guidelines

1.1

  • New: Added support for placeholder to the field.
  • Fixed: Corrected typos and did some minor code reformating

1.0

  • Plugin released.