Skip to main content

Email field

What it does​

An Email field is a one-line box for an email address. You find it in the builder's left panel, in the Text Input group. You add it by dragging it onto the form, as described in Adding fields and sections.

Before the form is sent, the field checks that the text has the form of an email address. In Content → WebForms → Inbox, a form with one Email field shows that address in the Sender column. Open the submission to see it with the other answers.

When to use​

Choose Email whenever you ask for an email address, for example to reply to a question or to send a price list. A Text field doesn't check the format of an address.

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. If you don't know these parts of the screen yet, see the Builder tour. You'll change these settings most often:

  • Label (General tab) is the name visitors see above the box.
  • Required makes the visitor fill in the box before the form can be sent. When you turn it on, Required Error Message appears below Required in the right panel for your own wording.
  • Placeholder is a hint shown inside the empty box. It disappears when the visitor starts typing.
  • Enable Email Confirmation (General tab) asks for the address twice, to catch typing mistakes. The visitor sees two boxes under your label, Enter Email and Confirm Email, and both must match. To rename the two boxes, use Email Sub-Label and Confirmation Sub-Label.
Email field with confirmation on: one Email label over two boxes side by side, with Enter Email and Confirm Email under the boxes and the help text below
  • Match Value with Another Field (Validation tab) is the other way to ask twice. You add a second Email field yourself and pick it in this setting. A field can't use both this setting and Enable Email Confirmation: the builder refuses the change and asks you to turn one of them off.
  • Unique Value (Validation tab) rejects an address, after the visitor clicks Submit, when it was already sent in this field of this form.
  • Pre-fill with Customer Email (General tab) fills the box with the signed-in customer's email address. An Email field you add in the builder starts with it on. Fields that already exist, and fields that come from an imported file or through the API, keep the value they have.

The table below lists every other setting. Each change saves into the form's draft at once. Visitors see it after you click Publish Changes in the builder's top bar. To check the form first, click Preview in the same 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
Pre-fill with Customer Email General → Field Settings On or off No
Assign Customer ID Automatically General → Field Settings On or off No
Enable Email Confirmation General → Field Settings On or off No
Email 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
Input Mask General → Advanced Text No
Transform Text After Save General → Advanced No, Uppercase, Lowercase 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
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 field checks the format of the address on its own. Other checks run only when you switch them on:

Check What the visitor sees when it fails
Format, always on "Please enter a valid email address (Ex: johndoe@domain.com)." under the box. An address without a domain ending, such as "freya.larsen@example", fails.
Required "This is a required field." under the box, or your Required Error Message.
Enable Email Confirmation When the two addresses differ: “Please make sure your input matches the "Enter Email".” under the boxes. The message names the first box.
Unique Value After Submit, a window titled Error that starts with "Duplicate value has been found:".

The Validation tab also has Minimum Length, Maximum Length and Pattern, each with its own Error Message. Pattern checks the address against a regular expression, a formula that describes allowed text. The format check above already runs without 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 an Email 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 an Email field only once a rule shows or hides it, and lists that rule.
  • Email conditions: yes. A notification can go out only when the address matches a condition, for example when it ends with your trade customers' domain. The operators are Is, Is Not, Contains, Starts With and Ends With.

Limits​

  • The format check can't tell whether the address exists or belongs to the visitor.
  • Enable Email Confirmation only asks for the address twice. WebForms has no double opt-in: it doesn't email the visitor a link to click before the submission counts.
  • Unique Value compares addresses within this one field of this one form. It ignores uppercase and lowercase.

Troubleshooting​

  • A visitor says the form rejects a correct address. Check that the address has a full domain, such as "example.com". If Enable Email Confirmation is on, both boxes must hold the same address.
  • The visitor sees "Duplicate value has been found". Unique Value is on, and this address was already sent in this field. If repeat submissions are fine, turn it off on the Validation tab.
  • The builder won't save a setting and asks you to turn one off. Enable Email Confirmation (General tab) and Match Value with Another Field (Validation tab) exclude each other. Turn one of them off.
  • Your change doesn't show on the storefront. Changes stay in the draft until you click Publish Changes. See Drafts, publishing and versions.

What's next​

Applies to WebForms 4Last reviewed November 24, 2026