fm:Form_TextArea


Component to draw a textarea.

Example

<fm:Form_TextArea name="add_comments"></fm:Form_TextArea>

Supported attributes

NameRequiredDefaultDescription
classOptionalThe css classname that will be assigned to the actual html form field. Note that a few default classes might be added
colsOptionalN/AThe number of columns of the textarea
disabledOptionalN/AThis will set the html disabled attribute
idOptionalrandomizedThe id of the form element. Note that this id will also be used for the 'for' attribute in the <label> component
labelOptionalN/AThis attribute will be used to generate labels for this component, if it's used within an fm:Form component
languageOptionalN/AThis specifies which language to use for the display of the form_country dropdown. Choices are:
  • en - English
  • es - Spanish
  • fr - French
  • nl - Dutch
nameRequiredN/AThe name of the form field. This is how the value will be submitted back to the server
readonlyOptionalN/AThis sets the html readonly attribute and controls if the user can change the value
requiredOptional0Set required to '1' if you'd like the form validator to check if this form element has a value before submitting
rowsOptionalN/AThe number of rows of the textarea
styleOptionalThe style attribute for the actual form component
titleOptionalN/ASets the title attribute on the textarea element
valueOptionalThe current value of the form element

Template variables

This component defines no template variables.

More examples

<fm:Form_TextArea id="comment_field" class="comment" label="Your comment" cols="10" rows="10"></fm:Form_TextArea>