Skip to main content

Validation messages

Overview​

When an answer doesn't pass a check, the visitor sees a message in red under the field. This page lists the standard messages, how they appear and how to change their wording. The rules themselves, such as Required or Maximum Length, are set on each field in the builder: see Validation rules.

The messages and the way they appear were the same on Luma, Hyvä and Breeze storefronts.

How errors appear​

  • Under the field. Each message appears in red under its field, and the field's border turns red. The message is tied to the field, so a screen reader reads it together with the label.

  • When the visitor leaves a box. Some checks run at once: an empty required box, an email address in the wrong format, a text that is too long, too many selected Options.

  • When the visitor clicks Submit. Every field with a problem shows its message, and the keyboard focus moves to the first one. There is no list of all problems at the top of the form.

    After Submit: Full name has the focus and its own message Enter your name so we know who to call; Email shows This is a required field under its help text
  • In a multi-step form, Continue checks the current step the same way and stays on it.

  • In a window titled Error. A few checks need the store and run after Submit, such as Unique Value. Their message appears in a window above the form.

Standard messages​

The texts are the standard English ones. "Your own text in" names the box in the field's settings where you can write your own wording instead; a dash means the field has no such box.

Message the visitor sees When it shows Your own text in
"This is a required field." A required box is empty. Required Error Message
"Please select an option." A required Select has no Option selected. Required Error Message
"Please select one of the options." A required Radio or Checkbox has nothing selected. Required Error Message
"Please enter a valid email address." and, below it, "Please enter a valid email address (Ex: johndoe@domain.com)." An Email field holds something that isn't an address. —
'Please make sure your input matches the "Email".', with the label of the other box Two addresses that must be the same differ: Enable Email Confirmation or Match Value with Another Field. —
"Please enter more or equal than 6 symbols." The answer is shorter than Minimum Length, here 6. The Error Message of the length rule
"Please enter less or equal than 200 symbols." The answer is longer than Maximum Length, here 200. The Error Message of the length rule
"Invalid format." The answer doesn't match Pattern. The Error Message of the pattern
"Incorrect value." The answer doesn't fill the Input Mask. —
"Please check not more than 2" More Checkbox Options are selected than Maximum Selections, here 2. Maximum Selections Error Message
"Please specify your answer." The visitor picked Other and left its box empty. —
"Please enter a valid number in this field." A Number field holds something that isn't a number. —
"Please enter a value between 1 and 20." A Number is outside the allowed range, here 1 to 20. —
"Please enter a valid URL. Protocol is required (http://, https:// or ftp://)." A URL field holds an address without https:// or similar. —
"Incorrect number." A Phone number doesn't fit the chosen country. —
"Selected file has none of allowed extensions:" and the allowed types A chosen file has a type the field doesn't accept. —
"Selected file exceeds allowed size: 2000 kB", with the limit A chosen file is larger than the limit. —
"This field allows up to 3 files. Remove any extras to continue.", with the limit More files are chosen than the field accepts. —
"Duplicate value has been found:" and the answer, in a window titled Error Unique Value is on and an earlier submission has the same answer. The Error Message of Unique Value

Some fields have more messages of their own, for example Password and Product. They are listed on each field's page under Validation, see Fields.

Change the wording​

  • For one field: fill in the box named in the table, in the field's settings in the builder. Your text replaces the standard message for that field only.
  • For one store view: a field's own messages can have a different text on each store view, like its label. For example, a German text for Required Error Message shows on a German store view, and the English text everywhere else.
  • The standard messages come with WebForms in English. On a store view in another language they stay in English until your store has a translation for them. Ask your developer.

What's next​

Applies to WebForms 4Last reviewed October 14, 2026