The plain text field is a Collection field that is best used for basic text that doesn't need formatting like headings, inline styles, or inline media.
The plain text field is a Collection field best used for short text blocks or a short paragraph related to a Collection item — basic text content that doesn't need special formatting like headings, inline styles, or inline media like images or video. You can also use plain text fields to filter and sort Collection lists or show specific elements using conditional visibility on Collection pages or in lists.
Multi-line plain text fields in the CMS make it easier to enter text across multiple lines to input, store and edit text that wouldn't fit in a single-line Plain text field. The text displays in the browser as plain text, wrapped in an element.
To add any inline styling (including line breaks) to CMS content, use the Rich text field instead.
A plain text field can be added to a new or existing Collection. In Collection settings, click on New Field and then choose the Plain Text field.
Before saving the field, specify the Text field type. You can also set a minimum character count and/or a maximum character count that is allowed for this field. And as with any field, you can add a Help text and specify if the field is required or not.
A plain text field allows you to add a short text block or a single paragraph to a Collection item. As a designer, you can specify the type and function of a text field by setting the text field type:
This will change how the text field is displayed in the CMS Panel and the Editor.
The plain text field can be connected to any text element.
You can also access these Settings by selecting the text element and either clicking on the settings icon next to the element label on the canvas or by going to the Settings panel (D). To remove the connection, uncheck the “Get text from” checkbox.
To filter your Collection list using a plain text field:
The filter rules that you can use with the plain text field and values are:
You can use plain texts to sort Collection items by name or last name or any text field:
You can set conditional visibility to show or hide individual elements in a Collection list or on a Collection page using the plain text field. For example, if you have a button element that is connected to a plain text field as well as a link field. You can set two conditions to ensure that the button is visible on the page only when the link and the text field are set.
Add another condition for the link field.