Title: Add Password Field for Contact Form 7
Author: kimipooh
Published: <strong>18 mei 2018</strong>
Last modified: 1 november 2026

---

Plugins zoeken

![](https://s.w.org/plugins/geopattern-icon/cf7-add-password-field.svg)

# Add Password Field for Contact Form 7

 Door [kimipooh](https://profiles.wordpress.org/kimipooh/)

[Download](https://downloads.wordpress.org/plugin/cf7-add-password-field.5.3.1.zip)

 * [Details](https://nl.wordpress.org/plugins/cf7-add-password-field/#description)
 * [Beoordelingen](https://nl.wordpress.org/plugins/cf7-add-password-field/#reviews)
 *  [Installatie](https://nl.wordpress.org/plugins/cf7-add-password-field/#installation)
 * [Ontwikkeling](https://nl.wordpress.org/plugins/cf7-add-password-field/#developers)

 [Ondersteuning](https://wordpress.org/support/plugin/cf7-add-password-field/)

## Beschrijving

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

## Schermafbeeldingen

[⌊Setting of Contact Form 7⌉⌊Setting of Contact Form 7⌉[

Setting of Contact Form 7

[⌊View of Contact Form 7⌉⌊View of Contact Form 7⌉[

View of Contact Form 7

## Installatie

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

## FAQ

### 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 ( https://fontawesome.
com/ ).

### How can I use my theme’s Font Awesome stylesheet or another Font Awesome source?

This plugin loads the bundled Font Awesome stylesheet by default.

If your theme or another plugin already loads Font Awesome 6, you can dequeue this
plugin’s stylesheet.

If you want to use another Font Awesome source, such as a CDN, dequeue the bundled
stylesheet and enqueue your own stylesheet from your theme or custom plugin.

Example:

    ```
    add_action( 'wp_enqueue_scripts', function() {
        wp_dequeue_style( 'cf7_add_password_field_style' );

        wp_enqueue_style(
            'my-font-awesome',
            'https://example.com/path/to/font-awesome.css',
            array(),
            null
        );
    }, 20 );
    ```

Replace the example URL with the URL of your preferred Font Awesome stylesheet.

Loading stylesheets from third-party services may have privacy, availability, and
security implications.

### How the customize the validation check?

Please see the following document.
 https://info.cseas.kyoto-u.ac.jp/en/links-en/
plugin-en/wordpress-dev-info-en/cf7-add-password-field_en

### 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 https://
info.cseas.kyoto-u.ac.jp/en/links-en/plugin-en/wordpress-dev-info-en/cf7-add-password-
field_en

## Beoordelingen

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

### 󠀁[Plugin does not appear in plugin list](https://wordpress.org/support/topic/plugin-does-not-appear-in-plugin-list/)󠁿

 [sergeyamirkhanyan](https://profiles.wordpress.org/sergeyamirkhanyan/) 8 juli 2022
1 reactie

Why after installation plugin doesn't appear in plugin list ?

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

### 󠀁[Well done](https://wordpress.org/support/topic/well-done-618/)󠁿

 [Alex](https://profiles.wordpress.org/sandroo7200/) 10 december 2020

The plugin does what it says. Used it to create a registration form with CF7. Great
job and thank you.

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

### 󠀁[Great](https://wordpress.org/support/topic/great-11636/)󠁿

 [roman921](https://profiles.wordpress.org/roman921/) 24 juni 2020

Remarkable job.

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

### 󠀁[Thanks alot](https://wordpress.org/support/topic/thanks-alot-6/)󠁿

 [dultcher](https://profiles.wordpress.org/dultcher/) 20 juli 2019

love it

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

### 󠀁[the plugin should be finished](https://wordpress.org/support/topic/the-plugin-should-be-finished/)󠁿

 [Mario62rus](https://profiles.wordpress.org/mario62rus/) 30 mei 2018

lack: – need add a button to the form editor – missing placeholder attribute

 [ Lees alle 5 beoordelingen ](https://wordpress.org/support/plugin/cf7-add-password-field/reviews/)

## Bijdragers & ontwikkelaars

“Add Password Field for Contact Form 7” is open source software. De volgende personen
hebben bijgedragen aan deze plugin.

Bijdragers

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

“Add Password Field for Contact Form 7” is vertaald in 6 localen. Dank voor [de vertalers](https://translate.wordpress.org/projects/wp-plugins/cf7-add-password-field/contributors)
voor hun bijdragen.

[Vertaal “Add Password Field for Contact Form 7” in je eigen taal.](https://translate.wordpress.org/projects/wp-plugins/cf7-add-password-field)

### Interesse in ontwikkeling?

[Bekijk de code](https://plugins.trac.wordpress.org/browser/cf7-add-password-field/),
haal de [SVN repository](https://plugins.svn.wordpress.org/cf7-add-password-field/)
op, of abonneer je op het [ontwikkellog](https://plugins.trac.wordpress.org/log/cf7-add-password-field/)
via [RSS](https://plugins.trac.wordpress.org/log/cf7-add-password-field/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 5.3.1

 * Fixed a security vulnerability in the specific_password_check option.

#### 5.3.0

 * Updated password visibility icons to use Font Awesome 6 native classes instead
   of legacy Font Awesome 4 compatibility classes.
 * Added README/FAQ documentation for replacing the bundled Font Awesome stylesheet
   with a preferred stylesheet.

#### 5.2.0

 * Update the css and webfonts powered by fontawesome.com from 6.4.2 to version 
   6.7.2

#### 5.1.0

 * Addressed WordPress.org Plugin Check warnings.
 * Confirmed compatibility with WordPress 7.0.
 * Improved security, sanitization, and escaping.

#### 5.0.1

 * Tested up WordPress 6.7.2 with PHP 8.3.19 and 8.4.5.

#### 5.0

*Supported for the Tag generator (version 2), which was changed in version 6.0 of
Contact Form 7. For more information, please see https://aurisecreative.com/blog/
2024/11/how-to-use-tag-generator-version-2-in-contact-form-7/.

#### 4.2

 * 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.

#### 4.1

 * Update the css and webfonts powered by fontawesome.com 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.

#### 4.0

 * 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.

#### 3.31

 * Fixed some error message.

#### 3.3

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

#### 3.2

 * Fixed the markup changes in form controls, such as error message, since the version
   5.6 of Contact Form 7 plugin (https://contactform7.com/2022/05/20/contact-form-
   7-56-beta/).
 * Tested up 6.1

#### 3.1

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

#### 3.0

 * Fixed the password strength check.

#### 2.10

 * 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.

#### 2.92

 * Fixed one of language translation.
 * Tested up 6.0

#### 2.91

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

#### 2.9

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

#### 2.8

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

#### 2.7

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

#### 2.6

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

#### 2.5

 * 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

#### 2.4

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

#### 2.3

 * Add the option of placeholder text (https://contactform7.com/en/setting-placeholder-
   text/).
 * Tested up 5.3.2 with PHP 7.4

#### 2.2

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

#### 2.1

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

#### 2.0

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

#### 1.0

 * First release.

## Meta

 *  Versie **5.3.1**
 *  Laatst geüpdatet **7 dagen geleden**
 *  Actieve installaties **2.000+**
 *  WordPress versie ** 6.2 of nieuwer **
 *  Getest t/m **7.1.4**
 *  PHP versie ** 7.4 of nieuwer **
 *  Talen
 * [English (US)](https://wordpress.org/plugins/cf7-add-password-field/), [Japanese](https://ja.wordpress.org/plugins/cf7-add-password-field/),
   [Spanish (Colombia)](https://es-co.wordpress.org/plugins/cf7-add-password-field/),
   [Spanish (Ecuador)](https://es-ec.wordpress.org/plugins/cf7-add-password-field/),
   [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/cf7-add-password-field/),
   [Spanish (Spain)](https://es.wordpress.org/plugins/cf7-add-password-field/) en
   [Spanish (Venezuela)](https://ve.wordpress.org/plugins/cf7-add-password-field/).
 *  [Vertaal in je eigen taal](https://translate.wordpress.org/projects/wp-plugins/cf7-add-password-field)
 * Tag
 * [contact form](https://nl.wordpress.org/plugins/tags/contact-form/)
 *  [Geavanceerde weergave](https://nl.wordpress.org/plugins/cf7-add-password-field/advanced/)

## Waarderingen

 4.6 van 5 sterren.

 *  [  4 5 sterren beoordelingen     ](https://wordpress.org/support/plugin/cf7-add-password-field/reviews/?filter=5)
 *  [  0 4 sterren beoordelingen     ](https://wordpress.org/support/plugin/cf7-add-password-field/reviews/?filter=4)
 *  [  1 3 ster beoordeling     ](https://wordpress.org/support/plugin/cf7-add-password-field/reviews/?filter=3)
 *  [  0 2 sterren beoordelingen     ](https://wordpress.org/support/plugin/cf7-add-password-field/reviews/?filter=2)
 *  [  0 1 sterren beoordelingen     ](https://wordpress.org/support/plugin/cf7-add-password-field/reviews/?filter=1)

[Je beoordeling](https://wordpress.org/support/plugin/cf7-add-password-field/reviews/#new-post)

[Bekijk alle beoordelingen](https://wordpress.org/support/plugin/cf7-add-password-field/reviews/)

## Bijdragers

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

## Ondersteuning

Opgeloste problemen in de laatste twee maanden:

     1 van de 1

 [Het supportforum bekijken](https://wordpress.org/support/plugin/cf7-add-password-field/)