WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

Contact Form 7 Confirm Email Field

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

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

Contact Form 7 Confirm Email Field

作者:vallabh vyas
下载
  • 详情
  • 评价
  • 开发进展
支持

描述

This “Contact Form 7 confirm email field” plugin extends the “Contact Form 7” plugin to verify email address which is entered second time.

confirm email field for Contact Form 7 add the double check email field to your form and verify email match with the CF7 Ajax validation.

Double email check

This plugin add a new field in Contact Form 7 called “confirm_email” that allow to do a double email check when submitting the form. The new field will ask to users to confirm their email by typing it into a second field.

If you want to do this in your form, you only have to add the “confirm_email” field into the CF7 form and enter the email field name you want to check. The validation is done by the CF7 Ajax-powered style: when submitting form CF7 will do the double email check, if not match returns error and ask to users to verify the email addresses.

1.1

The version support Contact form 7 4.1.2 and above

1.0

The version support Contact form 7 4.1.1 and below version

Installation == 1. Upload the entire contact-form-7-confirm-email folder to the /wp-content/plugins/ directory. 1. Activate the plugin through the ‘Plugins’ menu in WordPress.

When you are adding contact form. At top there is option to add “TEXT, EMAIL, URL”. There is one more option there to add “Confirm Email”. once you click on that it will generate the code like below. you can insert that code at same place where other feilds are there.

Sample code i had generated and it’s work fine.
[confirm_email confirm_email-510]

The Contact Form 7 plugin must be installed and activated for the Contact Form 7 Confirm Email to work.

1.2

The version support Contact form 7 4.1.2 and above

1.1

The version support Contact form 7 4.1.2 and above

1.0

The version support Contact form 7 4.1.1 and below version

屏幕截图

  • Confirm Email does not match validation.

评价

Doesn’t Confirm Email

Hydro1313 2017 年 1 月 18 日
I generated the tag using the email name field to check for a match and it will not work. Every form submission with unmatched email addresses went through with no errors. I tried tweaking the tag to see if it can be resolved but it doesn’t work. Not sure why it wont work but I will have to deactivate this plugin and delete it.

GREAT, but Some additional code… needed to get from 4* to 5*

darlio 2016 年 9 月 26 日
I really like this very efficient and easy plugin. Some code should be added to get the full features : – A RED text saying that the email is wrongly written. – Style completely similar to the email field of CF7. Hope this helps ! And thank you to Author to adapt his code more or less as described, or better… (Code bellow is partially given by KliffBlack) ———————————————————- ———- Here is the code and where to put it ———- ———————————————————- <<<< Getting the message about wrong match >>>> 1. Open the php file –> Named : contact-form-7-confirm-email.php –> In folder : […]wp-content/plugins/contact-form-7-confirm-email-feild (yes, f e i l d, this is a typo from the author of the plug in) 2. Add the filter: –> What : add_filter( ‘wpcf7_messages’, ‘confirm_email_messages’); –> Where : at line 24 (for example, must be with the others) 3. Add the function it refers to : –> What : //add error message function confirm_email_messages($messages) { $messages[‘invalid_confirm_email’] = array( ‘description’ => __(‘The email addresses do not match.’), ‘default’ => __(‘The email addresses do not match.’), ); return $messages; } –> Where : at line 109 (for example, must be outside an existing function. <<<< Making the confirm_email input field look like the email one >>>> What : $class .= ‘ ‘.wpcf7_form_controls_class( $tag->type, ‘wpcf7-text’ ); Where : at line 50

Great when fixed, but poorly maintained

kliffblack 2016 年 9 月 3 日
I submitted below comment on an open support request that is about 2 months old: This seems like it would be a really nice plugin if the author would maintain/fix it. I am NOT a coder, but I waded into this because I really think this sort of validation is valuable. I found the comment by aswitahidayat to be correct. There was no message in the code for invalid_confirm_email. Digging back into a much older support thread, I found this: add_filter( ‘wpcf7_messages’, ‘confirm_email_messages’); function confirm_email_messages($messages) { $messages[‘invalid_confirm_email’] = array( ‘description’ => __(‘The email addresses do not match.’), ‘default’ => __(‘The email addresses do not match.’), ); return $messages; } After some fiddling around, I determined where to insert the “add_filter…” and “function…” pieces. Plugin seems to work now with WPv4.5.2. What I don’t understand is why the author says he fixed this some 8 months ago, but the above fix is not in the plugin I installed today. And the same problem is reported 2 months ago. I would love to up this rating to 5-stars, and I will if I become convinced that the author is properly responding to issues and committing fixes he says in support are done, but in fact are NOT in the plugin when downloaded.

good plugin

lukaborna 2016 年 9 月 3 日
Thanks
阅读所有6条评价

贡献者及开发者

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

贡献者
  • vallabh vyas

帮助将「Contact Form 7 Confirm Email Field」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

1.2 – 18/08/2015

额外信息

  • 版本 1.2
  • 最后更新:10 年前
  • 活跃安装数量 2,000+
  • WordPress 版本 3.8 或更高版本
  • 已测试的最高版本为 4.3.34
  • 语言
    English (US)
  • 标签
    confirm emailcontact form 7form
  • 高级视图

评级

4.3 星(最高 5 星)。
  • 4 5-star reviews 5 星 4
  • 1 4-star review 4 星 1
  • 0 3-star reviews 3 星 0
  • 1 2-star review 2 星 1
  • 0 1-star reviews 1 星 0

添加我的评价

查看全部评论

贡献者

  • vallabh vyas

支持

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

查看支持论坛

捐助

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

捐助此插件

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗