该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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”.

评价

此插件暂无评价。

贡献者及开发者

“Contact Form IF” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Contact Form IF”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志