Skip to main content

Editor field

What it does​

An Editor field is a large text box with a formatting toolbar above it, like a small word processor. The visitor can make text bold or italic, add lists, headings and links. You find the field in the builder's left panel, in the Advanced group, and add it by dragging it onto the form, as described in Adding fields and sections.

The toolbar has these buttons, in this order: Undo, Redo, Bold, Italic, Underline, a text style list (Normal text, Heading, Subheading), Bulleted list, Numbered list, Decrease indent, Increase indent, Quote, Add or edit link, Align left, Align center, Align right and Clear formatting. The toolbar is the same on the Luma, Hyvä and Breeze themes. You can't change which buttons it shows. On a phone, the toolbar wraps onto several rows.

To see the answer, go to Content → WebForms → Inbox and open the submission. It shows the text with its formatting.

When to use​

  • Use Editor when the formatting matters to you, for example a gift message, a product description or instructions for your workshop.
  • Use Textarea for ordinary messages. Visitors can't add formatting there, and the answer is easier to read in the submission list.

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:

  • Label (General tab) is the name visitors see above the box.
  • Required makes the visitor write something before the form can be sent.
  • Minimum Length and Maximum Length (Validation tab) limit the length of the answer. They count the hidden formatting code too, not only the letters the visitor sees, so set them with room to spare.

An Editor field has no placeholder and no setting for its height or its toolbar.

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
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
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
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
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​

Rule What the visitor sees when the check fails
Required "This is a required field." under the box, or your Required Error Message.
Minimum Length, for example 20 "Please enter more or equal than 20 symbols." under the box.
Maximum Length, for example 200 "Please enter less or equal than 200 symbols." under the box.

Because the length counts the formatting code, a short message such as "Happy new home!", 15 letters long, passes a Minimum Length of 20.

What is kept​

When a visitor pastes text from another page or document, the box keeps headings, bold, italic and underlined text, text colors and sizes, lists, quotes, links and alignment. While the visitor types, the box drops pictures, scripts and links that run code, and a table becomes plain lines of text. WebForms saves the answer as it receives it, so an answer sent past the box can still hold pictures and code.

The answer is shown with its formatting on the submission page, in the customer's account, in a notification email with all answers and in a PDF of the submission. Before it's shown there, it keeps only basic formatting: bold, italic, underline and strikethrough, lists, paragraphs, headings, quotes, tables, and links that start with http, https, mailto or tel. Pictures, scripts and code in attributes such as onerror are removed. Only the editor on the submission's edit page shows the answer as it was sent. Exports and integrations get the answer as plain text, without formatting. For the full list of what is removed where, see Safe HTML.

Logic​

  • Start a rule: no. Only fields with options can start a rule. A Logic tab appears on an Editor field only once a rule shows or hides it, and lists that rule.
  • Show or hide this field: yes, from a rule that starts on a field with options. See Show or hide fields and sections.
  • Email conditions: yes. The operators are Is, Is Not, Contains, Starts With and Ends With.

Limits​

  • The answer is saved with its formatting code. When you put the field's own variable in an email, it prints the text without formatting.
  • The box always starts empty: there is no default text.
  • The answer is stored as it was sent. Pictures in it aren't shown, except in the editor on the submission's edit page, where a picture from another website loads when you or your staff open it.

Troubleshooting​

  • A visitor's short message is accepted although it is below Minimum Length. The length includes the formatting code. Raise Minimum Length.
  • A visitor can't send a long, formatted message. Formatting adds to the length. Raise or clear Maximum Length on the Validation tab.
  • 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 October 14, 2026