Skip to main content

Password field

What it does​

A Password field is a box whose characters show as dots while the visitor types. You find it in the builder's left panel, in the Text Input group, and add it by dragging it onto the form, as described in Adding fields and sections.

It can ask for the password twice, show a strength meter under the box and an eye icon at the right end of the box that reveals what the visitor typed. A new field asks for at least 8 characters.

What is stored and who can see it​

A WebForms submission isn't a customer account. The password is saved with the other answers, and what is saved depends on Encrypt Password (General tab, Advanced section):

Encrypt Password on Encrypt Password off
What the store saves A one-way scrambled form of the password, which WebForms can't turn back into the password The password exactly as typed
Anyone with access to the database The scrambled form The password as typed
Submission page and submission list •••••• ••••••
Edit Result ****** in the password box ****** in the password box
Notification emails, with all answers or the field's own tag •••••• ••••••
PDF documents with the Standard layout: Print on the submission page, the customer's PDF download and PDFs attached to emails The scrambled form The password as typed
CSV or Excel export of the submission list Empty Empty
The older WebForms 3 REST API, if an integration still uses it Empty Empty
The Zapier add-on, when it's set up for the form Empty Empty

The last three are empty for a Password field that is still on the form; if you delete the field later, its old answers show as a row of dots there.

With Encrypt Password off, the dots in the admin and in email text only hide the password on screen. Anyone who can print the submissions, receives a PDF of a submission or reads the database can read every password. Keep it on.

The submission list can't be filtered or sorted by a Password field: its column has no filter and no sorting. The older REST API and the search of the Management API and the AI assistant refuse such a filter with "Submissions cannot be filtered by the password field".

On a new field the switch shows as off, although the field saves the scrambled form. Switch Encrypt Password on and publish the form before you collect passwords, so the screen matches what is saved. If the setting is saved as off, later submissions keep the password as typed. The WebForms 4 Management API never sends the answer; see Personal data masking.

When to use​

  • Use Password when a form creates a store account and the visitor should choose its password: map the field to Password in the form's customer registration settings. See Registering customers from a form. The answer is also saved with the submission, so switch Encrypt Password on.
  • For other systems, send the visitor an invitation or a link to set their own password instead of collecting it in a form.
  • Never ask visitors for the password of another service. Ask them to send a link or invite your team instead.

Settings​

Go to Content → WebForms → Manage Forms, click the form's name, then click Form Builder. Click the field on the form. Its settings show in the right panel, on the tabs General, Validation and Appearance. You'll change these settings most often:

  • Enable Password Confirmation (General tab) asks for the password twice. The visitor sees two boxes under your label, Enter Password and Confirm Password. To rename them, use Password Sub-Label and Confirmation Sub-Label right below it.
  • Minimum Password Length (Validation tab) is 8 for a new field.
  • Password Complexity Check with Required Character Types asks for several kinds of characters: lowercase, uppercase, digits and other signs. It's off for a new field.
  • Password Strength Meter (General tab) shows a bar and a word, such as "Password Strength: Weak", under the box. With confirmation on, it sits under the first box. It doesn't stop a weak password; the rules above do.
  • Show Password Reveal (General tab, Advanced section) adds an eye icon at the right end of each box to show the typed password.
  • Encrypt Password decides what is stored. See the table above.

The table below lists every setting. Visitors see a change after you click Publish Changes in the builder's top bar.

All settings of this field
Setting Where in the panel Values Translatable
Enable Field General → Basic On or off No
Label (required) General → Basic Text Yes
Field Code General → Basic Text No
Required General → Basic On or off No
Required Error Message General → Basic Text Yes
Help Text General → Basic Formatted text Yes
Tooltip General → Basic Formatted text Yes
Placeholder General → Field Settings Text Yes
Password Strength Meter General → Field Settings On or off No
Enable Password Confirmation General → Field Settings On or off No
Password Sub-Label General → Field Settings Text Yes
Confirmation Sub-Label General → Field Settings Text Yes
Hide in Submissions General → Submission Display On or off No
Allow in Staff Email Subject General → Submission Display On or off No
Submission Label General → Submission Display Text Yes
Personal Data General → Privacy By field type — Personal data, Not personal, Personal data No
Show Password Reveal General → Advanced On or off No
Encrypt Password General → Advanced On or off No
Browser Autocomplete General → Advanced Text No
Unique Value Validation → Unique On or off No
Error Message Validation → Unique Text Yes
Minimum Length Validation → Length Number No
Error Message Validation → Length Text Yes
Maximum Length Validation → Length Number No
Error Message Validation → Length Text Yes
Pattern Validation → Pattern Text No
Error Message Validation → Pattern Text Yes
Password Complexity Check Validation → Password Rules On or off No
Minimum Password Length Validation → Password Rules Number No
Required Character Types Validation → Password Rules Number No
Match Value with Another Field Validation → Match Value Another field of this form No
Desktop Appearance → Layout Width: Full (1/1), Half (1/2), Third (1/3), Quarter (1/4), Fifth (1/5), Sixth (1/6), 2/3, 3/4, 2/5, 3/5, 4/5, 5/6; New row: on or off No
Tablet Appearance → Layout Width: Full (1/1), Half (1/2), Third (1/3), Quarter (1/4), Fifth (1/5), Sixth (1/6), 2/3, 3/4, 2/5, 3/5, 4/5, 5/6; New row: on or off No
Mobile Appearance → Layout Width: Full (1/1), Half (1/2), Third (1/3), Quarter (1/4), Fifth (1/5), Sixth (1/6), 2/3, 3/4, 2/5, 3/5, 4/5, 5/6; New row: on or off No
Show Label Appearance → Style On or off No
Help Text Position Appearance → Style Below input, Above input No
Sublabel Position Appearance → Style Above input, Below input No
Container Classes Appearance → CSS Text No
Input Classes Appearance → CSS Text No
Custom Attributes Appearance → Advanced Text No
Inline Style Appearance → Advanced Text No

Validation​

The checks run when the visitor clicks Submit:

Check What the visitor sees when it fails
Minimum Password Length "Minimum length of this field must be equal or greater than 8 symbols. Leading and trailing spaces will be ignored.", with your number.
Password Complexity Check "Minimum of different classes of characters in password is 3. Classes of characters: Lower Case, Upper Case, Digits, Special Characters.", with your number.
Enable Password Confirmation “Please make sure your input matches the "Enter Password".” when the two boxes differ.

Leave Unique Value (Validation tab) off on a Password field. With Encrypt Password on, it never finds a duplicate, because each scrambled form is different. With it off, it refuses a password someone already used and repeats that password in the message, "Duplicate value has been found:" followed by the password, which tells the visitor another person chose it.

Logic​

  • Show or hide this field: yes. A rule that starts from a field with options, such as a Select, can show or hide a Password field. See Show or hide fields and sections.
  • Start a rule: no. Only fields with options can start a rule. A Logic tab appears on a Password field only once a rule shows or hides it, and lists that rule.
  • Email conditions: the field is listed among a notification's conditions with the text comparisons, but with Encrypt Password on they compare the scrambled form, not the password. Base conditions on other fields.

Limits​

  • With Encrypt Password on, WebForms can't turn the stored value back into the password. Staff who print submissions still see the scrambled form, and someone who has it can try likely passwords against it, so a weak password can still be guessed.
  • Print and other PDF documents with the Standard layout show the stored value. See What is stored and who can see it.

Troubleshooting​

  • The Password column of an export is empty. Exports leave the password out on purpose.
  • A printout shows a long string of letters and digits for the password. That's the scrambled form saved with Encrypt Password on. It's expected.
  • A printout or a PDF shows a visitor's real password. Encrypt Password is off. Switch it on and publish the form to protect new submissions. Submissions sent before, and printouts or PDFs already made, still hold the password as typed: limit who can open them, and ask the visitor to change the password if it's used anywhere.
  • The builder shows Encrypt Password off, but a printout shows a scrambled form. A new field stores the scrambled form until you switch the setting off yourself. See What it does.

What's next​

Applies to WebForms 4Last reviewed October 14, 2026