Title: Contact Form 7 Phone Module
Author: Gabriel Reguly
Published: <strong>2012 年 8 月 26 日</strong>
Last modified: 2013 年 12 月 26 日

---

搜索插件

![](https://ps.w.org/contact-form-7-phone-mask-module/assets/banner-772x250.png?
rev=590711)

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

![](https://s.w.org/plugins/geopattern-icon/contact-form-7-phone-mask-module_394a4f.
svg)

# Contact Form 7 Phone Module

 作者：[Gabriel Reguly](https://profiles.wordpress.org/gabriel-reguly/)

[下载](https://downloads.wordpress.org/plugin/contact-form-7-phone-mask-module.zip)

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

 [支持](https://wordpress.org/support/plugin/contact-form-7-phone-mask-module/)

## 描述

### Add Telephone Field to Contact Form 7

This plugin adds telephone field to Contact Form 7 along with masking options.

Please notice that Contact Form 7 must be installed and active.

Masking options are accessible via tag generator panel.

## 屏幕截图

[⌊screenshot-1.png⌉⌊screenshot-1.png⌉[

screenshot-1.png

## 安装

 1. Upload plugin files to your plugins folder, or install using WordPress’ built-in
    Add New Plugin installer
 2. Activate the plugin
 3. Edit a form in Contact Form 7
 4. Use [phone your-phone mask:(999)999-9999] or [phone* your-phone mask:(999)999-9999]
    to add a telephone field
 5. Use [your-phone] at mail to get the content of telephone field
 6. Notice that if you add more than one phone field, only the last masking options
    would be effective

## 常见问题

  What is the plugin license?

 * This plugin is released under a GPL license.

  How many phone masks is possible to have?

 * Even thought one can set several phone fields with different masks, only the 
   last mask will be used.

  What is the alternate mask?

## 评价

![](https://secure.gravatar.com/avatar/d442e4c78658e422a7fd8773001c5824eb0a3ad7bc1126903a67514bbe1f1612?
s=60&d=retro&r=g)

### 󠀁[Don’t Work in new versions.](https://wordpress.org/support/topic/dont-work-in-new-versions/)󠁿

 [Murilo Pinto Pereira](https://profiles.wordpress.org/murilo-pinto-pereira/) 2018
年 6 月 22 日

don't charge field when class is active.

![](https://secure.gravatar.com/avatar/6c588b2117290fd2ead64ec0bca131ba12616efcd9124754a31d26c8138af32f?
s=60&d=retro&r=g)

### 󠀁[Doesnt work](https://wordpress.org/support/topic/doesnt-work-1564/)󠁿

 [lifetreemkt](https://profiles.wordpress.org/lifetreemkt/) 2017 年 3 月 30 日

I guess it's too old.

![](https://secure.gravatar.com/avatar/d0eff5fe815146eaa66e8257878c11b52e66769291f3fe4cdea6ff4d768e09cb?
s=60&d=retro&r=g)

### 󠀁[It Doesn't Work!](https://wordpress.org/support/topic/it-doesnt-work-127/)󠁿

 [Eetheart](https://profiles.wordpress.org/eetheart/) 2016 年 9 月 3 日

Using latest Wordpress as of May 5th 2016, and it does NOT work. If you're going
to install this plugin, you might as well contribute with those 1-stars. Until this
gets updated and more support, I'm gonna tell everyone to stay away this. Time to
find a real solution.

 [ 阅读所有8条评价 ](https://wordpress.org/support/plugin/contact-form-7-phone-mask-module/reviews/)

## 贡献者及开发者

「Contact Form 7 Phone Module」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Gabriel Reguly ](https://profiles.wordpress.org/gabriel-reguly/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 2.3.4.1

 * Added ‘wpcf7-form-control’ to phone class as reported by https://wordpress.org/
   support/profile/bdeleasa

#### 2.3.4

 * Fixed fatal error: “Fatal error: Call to undefined function wpcf7_add_tag_generator()”

#### 2.0.1

 * Fixed issue where [phone*] made all subsequent fields be treated as required.(
   Thanks to insertcoinforjoy for reporting it.)

#### 2.0

 * Added a tag generator panel where users can select their mask. Default mask now
   is (999)999-9999

#### 1.0.4

 * Fixed missing code for validation, all users that use validation must upgrade.(
   Thanks to biswajeet for reporting it.)

#### 1.0.3.1

 * Fixed wrong path to js, all users must upgrade.

#### 1.0.3

 * Improved initialization, thus removing need of test and error messages.

#### 1.0.2

 * Fixed displaying of error message and behaviour after error if Contact Form 7
   is not present and active.

#### 1.0.1

 * Added a test to check if Contact Form 7 plugin is active.

#### 1.0

 * Initial plugin release.

## 额外信息

 *  版本 **2.3.4.1**
 *  最后更新：**13 年前**
 *  活跃安装数量 **300+**
 *  WordPress 版本 ** 3.5 或更高版本 **
 *  已测试的最高版本为 **3.5.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/contact-form-7-phone-mask-module/)
 * 标签
 * [contact form](https://cn.wordpress.org/plugins/tags/contact-form/)[contact form 7](https://cn.wordpress.org/plugins/tags/contact-form-7/)
   [contactform7](https://cn.wordpress.org/plugins/tags/contactform7/)[form](https://cn.wordpress.org/plugins/tags/form/)
   [forms](https://cn.wordpress.org/plugins/tags/forms/)
 *  [高级视图](https://cn.wordpress.org/plugins/contact-form-7-phone-mask-module/advanced/)

## 评级

 2.4 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/contact-form-7-phone-mask-module/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/contact-form-7-phone-mask-module/reviews/?filter=4)
 *  [  1 条 3 星评价     ](https://wordpress.org/support/plugin/contact-form-7-phone-mask-module/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/contact-form-7-phone-mask-module/reviews/?filter=2)
 *  [  4 条 1 星评价     ](https://wordpress.org/support/plugin/contact-form-7-phone-mask-module/reviews/?filter=1)

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

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

## 贡献者

 *   [ Gabriel Reguly ](https://profiles.wordpress.org/gabriel-reguly/)

## 支持

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

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

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://omniwp.com.br/donate/)