這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Contact Form IF

描述

  • Contact Form 7 must be installed to run this plugin.
  • In the form created with Contact Form 7, you can add a condition to the required check of the item.
  • You can specify various conditions such as when an item has been entered or when it is equal to the specified value.

Docs

Available conditions

  • is null
  • not null
  • equal
  • not equal
  • greater than(>)
  • greater equal(>=)
  • less than(<)
  • less equal(<=)
  • in
  • not in

Example

This setting is required only when a certain item is 2 or more.
See the developer’s site for other use cases.
Docs

Form
<label>Text1</label>[text eq-1]
<label>Text2</label>[text eq-2]
<br>
[submit "Submit"]

Additional Settings
requireif-eq-2:eq-1,greater_equal,2,This item is required when "text 1" is 2 or more.

螢幕截圖

  • screenshot-1.png

安裝

  1. From the WP admin panel, click “Plugins” -> “Add new”.
  2. In the browser input box, type “Contact Form IF”.
  3. Select the “Contact Form IF” plugin and click “Install”.
  4. Activate the plugin.

OR…

  1. Download the plugin from this page.
  2. Save the .zip file to a location on your computer.
  3. Open the WP admin panel, and click “Plugins” -> “Add new”.
  4. Click “upload”.. then browse to the .zip file downloaded from this page.
  5. Click “Install”.. and then “Activate plugin”.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Contact Form IF” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Contact Form IF 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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