Craft 3 Documentation

Plain Text Fields

Plain Text fields give you either a normal text input or a multi-line textarea, where plain text can be entered.

Settings #

Plain Text fields have the following settings:

The Field #

Plain Text fields will either show a normal text input or a multi-line textarea, depending on whether the “Allow line breaks” setting was checked.

Templating #

Calling a Plain Text field in your templates will return the value that was entered in the field.

{% if user.bio %}
    <h3>Bio</h3>
    {{ user.bio|markdown }}
{% endif %}