| Name | Type | Description |
| is_valid | Boolean | True if the value is not empty |
| value | String | The raw unencoded value of the field - outputting the raw value may have unexpected results if the value contains any HTML characters (ie: <, >, ', or ") |
| default_value | String | The default value for this field if no value is specified |
| field_id | String | The identifier for this field |
| label | String | The label for this field |
| output | String | The html encoded text of the field. Line breaks in the textarea are converted to "<br />" tags. May include additional markup in the editor preview to make it easier to edit content |
Allows any input, but encodes it as text prior to displaying it.
Should be used to display a textarea field inside a form.
| Name | Type | Description |
| is_valid | Boolean | Will always be true |
| type | String | Will always be "textarea" |
| placeholder | String | The pladeholder text to display when this textarea does not have a value |
| default_value | String | The text to include in this textarea by default when the form is initially displayed |
| map_to_attribute | String | If the user is signed into a profile when they submit this form and map_to_attribute is set, the profile attribute specified in map_to_attribute will be set to the value of this field. This should also be used to override the default value if the user is signed into a profile and the specified attribute has already been set |
| required | Boolean | Will be true if the user is required to enter text in this textarea |
| required_message | String | The message to display when the user attempts to submit the form without entering any text in this textarea |
| validators | validators | The list of validators that should be used to validate this textarea, if applicable |
| element_id | String | A helper property containing a unique ID for this field on this instance of this form. This value should be different every time the form is output |
| subtext | text | Help or hint text to display together with the field |
| condition | condition | The condition that should be used to show and hide this form field |
| classname | String | CSS class name(s) to be applied to the field |
| field_id | String | The identifier for this field |
| label | String | The label for this field |
| output | String | Default HTML markup for this textarea field, which makes a number of assumptions about other elements on the page that may or may not be included. Developers should avoid using the default output in order to guarantee that forms work as expected, including styling, validation, conditionals, and more. May include additional markup in the editor preview to make it easier to edit content |
Use the truncate, truncate_to_word, or truncate_words filter to shorten text to a specific number of characters or words.
Truncating text
Copytruncate
truncate_to_word
truncate_words
Prepend text onto the beginning of a string
Prepend text
CopyAppend text onto the end of a string
Append text
CopyEntity Textarea
Copy{{ entity.hero_description }}