Text is the simplest content type – it represents a basic line of text, and is edited with a single-line text input.

<perch:content id="heading" type="text" label="Heading" required="true" />

Optional attributes to use with type text

Attribute Values and description
maxlength Integer. The number of characters that can be input to the form field.
required Boolean. Whether the field must be completed or not.
title Boolean. Whether to use the contents of this field as a title in the Control Panel