The Password field is great for entering passwords or other private information. Entered characters are displayed as dots, so it is not readable.
If you use the User Registration Add-on and map the password field to the WordPress password, the password will not be saved in Formidable.
Standard field options
A Password field has the following options:
Field specific options
Confirmation Fields
Use the 'Require Confirmation' option to require a user to confirm that the information they entered in a field is correct. For more information see the Confirmation fields page.
Password strength
Check the box to 'Require a strong password,' and users will be required to enter a password that includes at least one lowercase letter, one uppercase letter, one number, one character, and at least 8 characters long. The password strength is checked both during PHP and JavaScript validation.
Would you like to translate the specific error messages such as 'Passwords require at least 8 characters'? Learn more about how to translate strings in Formidable Pro.
Password strength meter
Check the box to 'Show password strength meter' to show a password requirement list under the password field. As the user types, each red X in the password indicator will turn to a green checkmark as the requirement is filled. When the option to 'Require a strong password' is not checked, the strength meter is a guideline and is not enforced with validation.
Autocomplete attribute
This field setting allows you to set an autocomplete HTML attribute. The autocomplete attribute asks the browser to attempt autocompletion based on user history. Read more about the Autocomplete attribute.
The options give context to autofill features in browsers. For example, if you choose New password as an option, Firefox will prompt you with a Use a Securely Generated Password autocomplete option. Choosing Current password can be used to pull a saved password. Note: The autocomplete attribute will be used in favor of an attribute found in custom HTML.
Password icon
By default, the password field masks the user's input for security when entering a password. Check the box Include a show/hide password icon to display a password icon inside the field.
When you click the icon, the password becomes visible by showing the input as you type.
Default values and field icons
The default value icons can be used to specify whether the text entered in a Password field on the form builder page should be a default value or a placeholder. Learn more about how to set a placeholder in a Password field.
Field action icons allows you to duplicate, delete, and/or move a field on the form builder page. See the field action icons article for more information.
Display password fields
Display the value submitted in a Password field in a form's confirmation message, email, or View. Just insert [x], where x is the ID or key of the Password field.
If you are mapping a Password field to the password option in a Register User action, you will not be able to display the password value. A user's WordPress password is not saved in Formidable database tables.
Related developer hooks
- Require a minimum number of characters with the frm_validate_field_entry hook.
- Add extra password validation to check the strength. Set the minimum length, and require at least one number and one letter with the frm_validate_field_entry example.