Skip to content

Textarea Field

Multi-line input with no formatting. For a lead paragraph, an address, a short description.

Settings:

SettingWhat it does
Field heightIn pixels, 200 by default
PlaceholderGrey hint inside an empty field
WidthShare of the row, in percent
DefaultWhat a new record starts with
RequiredAn empty value blocks saving

Output:

html
<p>{$description}</p>

Line breaks are characters, not markup

What the editor typed is stored verbatim, newlines included — and HTML collapses them. If the breaks matter, either give the element white-space: pre-line, or reach for RichText and let the editor produce real paragraphs.

Like Text, this type is offered to the translators and can supply the title in the moderation queue.

© PageBlocks 2019-present