.. include:: ../../../../Includes.txt
.. _typo3-fluid-form-textarea:
=============
form.textarea
=============
Textarea view helper.
The value of the text area needs to be set via the "value" attribute, as with all other form ViewHelpers.
Examples
========
Example::
Output::
Arguments
=========
.. _form.textarea_additionalattributes:
additionalAttributes
--------------------
:aspect:`DataType`
mixed
:aspect:`Required`
true
:aspect:`Description`
Additional tag attributes. They will be added directly to the resulting HTML tag.
.. _form.textarea_data:
data
----
:aspect:`DataType`
mixed
:aspect:`Required`
true
:aspect:`Description`
Additional data-* attributes. They will each be added with a "data-" prefix.
.. _form.textarea_name:
name
----
:aspect:`DataType`
string
:aspect:`Required`
true
:aspect:`Description`
Name of input tag
.. _form.textarea_value:
value
-----
:aspect:`DataType`
mixed
:aspect:`Required`
true
:aspect:`Description`
Value of input tag
.. _form.textarea_property:
property
--------
:aspect:`DataType`
string
:aspect:`Required`
true
:aspect:`Description`
Name of Object Property. If used in conjunction with , "name" and "value" properties will be ignored.
.. _form.textarea_autofocus:
autofocus
---------
:aspect:`DataType`
string
:aspect:`Required`
true
:aspect:`Description`
Specifies that a text area should automatically get focus when the page loads
.. _form.textarea_rows:
rows
----
:aspect:`DataType`
mixed
:aspect:`Required`
true
:aspect:`Description`
The number of rows of a text area
.. _form.textarea_cols:
cols
----
:aspect:`DataType`
mixed
:aspect:`Required`
true
:aspect:`Description`
The number of columns of a text area
.. _form.textarea_disabled:
disabled
--------
:aspect:`DataType`
string
:aspect:`Required`
true
:aspect:`Description`
Specifies that the input element should be disabled when the page loads
.. _form.textarea_placeholder:
placeholder
-----------
:aspect:`DataType`
string
:aspect:`Required`
true
:aspect:`Description`
The placeholder of the textarea
.. _form.textarea_errorclass:
errorClass
----------
:aspect:`DataType`
string
:aspect:`Default`
'f3-form-error'
:aspect:`Required`
true
:aspect:`Description`
CSS class to set if there are errors for this view helper
.. _form.textarea_class:
class
-----
:aspect:`DataType`
string
:aspect:`Required`
true
:aspect:`Description`
CSS class(es) for this element
.. _form.textarea_dir:
dir
---
:aspect:`DataType`
string
:aspect:`Required`
true
:aspect:`Description`
Text direction for this HTML element. Allowed strings: "ltr" (left to right), "rtl" (right to left)
.. _form.textarea_id:
id
--
:aspect:`DataType`
string
:aspect:`Required`
true
:aspect:`Description`
Unique (in this file) identifier for this HTML element.
.. _form.textarea_lang:
lang
----
:aspect:`DataType`
string
:aspect:`Required`
true
:aspect:`Description`
Language for this element. Use short names specified in RFC 1766
.. _form.textarea_style:
style
-----
:aspect:`DataType`
string
:aspect:`Required`
true
:aspect:`Description`
Individual CSS styles for this element
.. _form.textarea_title:
title
-----
:aspect:`DataType`
string
:aspect:`Required`
true
:aspect:`Description`
Tooltip text of element
.. _form.textarea_accesskey:
accesskey
---------
:aspect:`DataType`
string
:aspect:`Required`
true
:aspect:`Description`
Keyboard shortcut to access this element
.. _form.textarea_tabindex:
tabindex
--------
:aspect:`DataType`
integer
:aspect:`Required`
true
:aspect:`Description`
Specifies the tab order of this element
.. _form.textarea_onclick:
onclick
-------
:aspect:`DataType`
string
:aspect:`Required`
true
:aspect:`Description`
JavaScript evaluated for the onclick event