Title: Contact Form IF
Author: skplus
Published: <strong>2021 年 9 月 1 日</strong>
Last modified: 2021 年 10 月 24 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/contact-form-if.svg)

# Contact Form IF

 作者：[skplus](https://profiles.wordpress.org/skplus/)

[下载](https://downloads.wordpress.org/plugin/contact-form-if.zip)

 * [详情](https://cn.wordpress.org/plugins/contact-form-if/#description)
 * [评价](https://cn.wordpress.org/plugins/contact-form-if/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/contact-form-if/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/contact-form-if/#developers)

 [支持](https://wordpress.org/support/plugin/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](https://satoshi256kbyte.github.io/product/contact-form-if/)

#### 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](https://satoshi256kbyte.github.io/product/contact-form-if/)

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⌉⌊screenshot-1.png⌉[

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」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ skplus ](https://profiles.wordpress.org/skplus/)
 *   [ satoshi256kbyte ](https://profiles.wordpress.org/satoshi256kbyte/)

[帮助将「Contact Form IF」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/contact-form-if)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/contact-form-if/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/contact-form-if/)，或通过[RSS](https://plugins.trac.wordpress.org/log/contact-form-if/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/contact-form-if/)。

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**5 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.3.2 或更高版本 **
 *  已测试的最高版本为 **5.8.19**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/contact-form-if/)
 * 标签
 * [contact](https://cn.wordpress.org/plugins/tags/contact/)[contact form](https://cn.wordpress.org/plugins/tags/contact-form/)
   [form](https://cn.wordpress.org/plugins/tags/form/)
 *  [高级视图](https://cn.wordpress.org/plugins/contact-form-if/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/contact-form-if/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/contact-form-if/reviews/)

## 贡献者

 *   [ skplus ](https://profiles.wordpress.org/skplus/)
 *   [ satoshi256kbyte ](https://profiles.wordpress.org/satoshi256kbyte/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/contact-form-if/)