The <textarea> Tag
Purpose
The <textarea> tag renders a textarea input field (i.e., it is mapped to an HTML <textarea> element).
Requirements
A <textarea> tag has to be embedded in a <form> tag.
Attributes
Attribute groups: %coreattrs, %i18n, %events and %input.
| Name | Description |
|---|---|
| assertClass | Appended to the HTML class attribute, if an assertion concerning this input field failed. (Default: equally named attribute value of the embedding form.) |
| assertStyle | Appended to the HTML style attribute, if an assertion concerning this input field failed. (Default: equally named attribute value of the embedding form.) |
| cols | Required - Mapped to the HTML attribute of the same name. |
| errorClass | Appended to the HTML class attribute, if the validation of this input field failed. (Default: equally named attribute value of the embedding form.) |
| errorStyle | Appended to the HTML style attribute, if the validation of this input field failed. (Default: equally named attribute value of the embedding form.) |
| index | Required for array inputs - The array index for this input field. |
| name | Required - Mapped to the HTML attribute of the same name. |
| onselect | Mapped to the HTML attribute of the same name. |
| rows | Required - Mapped to the HTML attribute of the same name. |
Body
The <textarea> tag has an optional body, which is used as an initial contents when the textarea input field is displayed for the first time and no form data is available to supply the initial data.


