Contact Form 7 Add Password field


The plugin is to add a password filed to Contact form 7 plugin.
ex. [password example] (optional) / [password* example] (required)


  • Setting of Contact Form 7
  • View of Contact Form 7


It’s the simple.
Please install this plugin and activate it.


How to use the ability of the password check?

Enter the value of the “name” on the field if you wish to verify a value of a password field.
Ex. If you set [password password-100], set [password* password-101 password_check:password-100]. Please pay attention a miss with uppercase and lowercase letters.

How the use the ability to display a password?

Set the “id” and the value sets same as “name” value.
Ex. If you set [password password-100], change to [password password-100 id:password-100].

The feature uses the library(Web fonts and CSS) of Font Awesome ( ).

How the customize the validation check?

Please see the following document.

How to save a password in hashed form

This plugin only adds a password field the Contact Form 7 plugin and does not encrypt(hash) input data.
If you want to hash a password value for keeping a database using an other plugin or sending by email, you need to add the code for hashing the data when you submit it pass through Contact Form 7, for example in your theme’s functions.php.
Reference: “Changing Contact Form 7 input values (28 January, 2023)” in


10 desimber, 2020
The plugin does what it says. Used it to create a registration form with CF7. Great job and thank you.
Lês alle 5 resinsjes

Meiwurkers & amp; Untwikkelders

“Contact Form 7 Add Password field” is iepen boarne software. De folgjende minsken hawwe bydroegen oan dizze plugin.


“Contact Form 7 Add Password field” is oerset yn 6 lokaasjes. Tank oan de oersetters foar harren bydragen.

Oersette “Contact Form 7 Add Password field” yn jo taal.

Ynteressearre yn ûntwikkeling?

Blêdzje troch de koade , besjoch de SVN-repository , of abonnearje op it ûntwikkelingslogboek troch RSS .



  • Added 5 options (Icon_position, Icon_float, Icon_top, Icon_margin, Icon_marginleft) to customize icon position. Each of them corresponds to position, float, top, margin, and margin-left. The position setting is required for customization.


  • Update the css and webfonts powered by from 5.15.4 to version 6.4.2.
  • New “hideIcon” option has been added. By setting this, it can hide the icon for displaying passwords.
  • Tested up WordPress 6.3 with PHP 8.2.
  • Tested up WordPress 6.5.2 with PHP 8.3.6.


  • Fxied the issue for the version 5.8 of Contact form 7; Since the version 5.8 of Contact form 7 ignores the id attribute if the same ID is already used for another element.
  • Changed to require WordPress 6.2+ and PHP 7.4+ according to the specifications required by Contact Form 7 itself.


  • Fixed some error message.


  • Added “specific_password_check” option for matching with specific passwords specified in advance.


  • Fixed the markup changes in form controls, such as error message, since the version 5.6 of Contact Form 7 plugin (
  • Tested up 6.1


  • Fixed misspelling of id in maxlength on input tag (it was naxlength).


  • Fixed the password strength check.


  • Added character count option “minlength” ad “maxlength” implemented in Contact Form 7 plugin.
  • If both of “password_min” and “minlength” are set, the “minlength” setting takes precedence.


  • Fixed one of language translation.
  • Tested up 6.0


  • The css and webfonts powered by for the password display icon was involded to the plugin for supporting an offline or CDN.


  • Added the hook “wpcf7_k_password_validation_filter” for customizing the validation check. Please refer to the FAQ for details.


  • Added the ability to display a password. Please refer to the FAQ for details.


  • Fixed some language transtaion.
  • Added the ability to verify a field value like a password.


  • Fixed the error message regarding the description on the password generation form.
  • Tested up 5.7 with PHP 8.0
  • Tested up 5.8


  • Added two restrictions; “Number of characters”, “Password Strength”.
  • Tested up 5.5.1 with PHP 7.4
  • Tested up 5.6 with PHP 7.4


  • Fixed the issue where hook “cf7-add-password-field-features” were not available.
  • Tested up 5.5 with PHP 7.4


  • Add the option of placeholder text (
  • Tested up 5.3.2 with PHP 7.4


  • Tested up 5.3.1
  • Add the hook “cf7-add-password-field-features” for customizing wpcf7_add_form_tag option.


  • Tested up 5.2.4 with PHP 7.3.
  • Fixed the arguments of load_plugin_textdomain as WordPress 3.7 or later.


  • Tested up 5.2.2 with PHP 7.3.
  • Support “Password” form button.


  • First release.