Rich Text field
What it does
A Rich Text element shows a paragraph of text on the form, for example how the order works or what happens after the visitor sends the form. It collects no answer.
You find Rich Text in the builder's left panel, in the Content group, and add it by dragging it onto the form, as described in Adding fields and sections.
When to use
- Use Rich Text for a few sentences of explanation, a short list or a link to a page with more details.
- For a title, use a Heading. For a note that should stand out in a colored box, use a Callout.
- For a hint about one field, use that field's help text instead. See General field settings.
Settings
Go to Content → WebForms → Manage Forms, click the form's name, then click Form Builder. Click the element on the form. Its settings show in the right panel, on the tabs General and Appearance. You'll change these settings most often:
- Text is the paragraph. Its toolbar has Bold, Italic, Underline, Strikethrough, a link button, and bulleted and numbered lists.
- Label (admin only) names the element in the builder. Visitors don't see it.
- Text Alignment, Text Color and Background Color are on the Appearance tab.
When the text is saved, only this formatting is kept: bold, italic, underline, strikethrough, links, lists and line
breaks. Everything else loses its tags and keeps its text: headings, tables and styled text become plain lines.
Images, scripts and attributes such as style or onclick are removed. A link keeps its address when it starts
with https://, http://, mailto: or a / for a page of your store; a link starting with javascript: keeps its
words but loses the address. A link set to open in a new tab still does. For the same rules in other places, see
Safe HTML.
The table below lists every setting. Visitors get 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 Element | General → Basic | On or off | No |
| Label (required) | General → Basic | Text | Yes |
| Text | General → Element Settings | Formatted 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 |
| Text Alignment | Appearance → Style | Default, Left, Center, Right | No |
| Text Color | Appearance → Style | Text | No |
| Background Color | Appearance → Style | Text | No |
| Container Classes | Appearance → CSS | Text | No |
Validation
The element has no checks. It isn't sent with the form: it doesn't appear in the submission, in notification emails or in PDF documents.
Logic
- Show or hide this element: yes, with a rule on the logic board. Once a rule controls it, the element's panel gets a Logic tab that lists the rule. See Show or hide fields.
- Start a rule: no.
Limits
- No images, headings or tables. To show those, use an HTML element.
- An element with empty Text shows nothing on your store.
Troubleshooting
- Formatting disappeared after saving. Only bold, italic, underline, strikethrough, links and lists are kept. Text pasted from another page loses its other styles.
- A link does nothing. Its address didn't start with
https://,http://,mailto:or/, so it was removed. Edit the link and enter the full address.
What's next
- Heading field: put a title above the text.
- Callout field: a note in a colored box.
- Safe HTML: what each place in a form keeps of the HTML you write.