跳至主要內容
WordPress.org

Taiwan 正體中文

  • 佈景主題目錄
  • 外掛目錄
  • 最新消息
  • 技術支援
  • 關於我們
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

Contact Form 7 Confirm Email Field

  • 提交外掛
  • 我的最愛
  • 登入
  • 提交外掛
  • 我的最愛
  • 登入

這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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 或更新版本
  • 已測試相容的 WordPress 版本 4.3.34
  • 語言
    English (US)
  • 標籤:
    confirm emailcontact form 7form
  • 進階檢視

評分

4.3 星,滿分為 5 星
  • 4 個 5 星使用者評論 5 星 4
  • 1 個 4 星使用者評論 4 星 1
  • 0 個 3 星使用者評論 3 星 0
  • 1 個 2 星使用者評論 2 星 1
  • 0 個 1 星使用者評論 1 星 0

Your review

查看全部使用者評論

參與者

  • vallabh vyas

技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

檢視技術支援論壇

贊助

想要支援這個外掛的發展嗎?

贊助這個外掛

  • 關於我們
  • 最新消息
  • 主機代管
  • 隱私權
  • 展示網站
  • 佈景主題目錄
  • 外掛目錄
  • 區塊版面配置目錄
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • 活動
  • 贊助基金會 ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Taiwan 正體中文

  • 查看我們的 X (之前的 Twitter) 帳號
  • 造訪我們的 Bluesky 帳號
  • 造訪我們的 Mastodon 帳號
  • 造訪我們的 Threads 帳號
  • 造訪我們的 Facebook 粉絲專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • 造訪我們的 TikTok 帳號
  • Visit our YouTube channel
  • 造訪我們的 Tumblr 帳號
程式碼,如詩
The WordPress® trademark is the intellectual property of the WordPress Foundation.