Fb:editor-textarea

From Facebook Developer Wiki

Jump to: navigation, search

Contents

Description

Creates a <textarea> element.

Attributes

RequiredNameTypeDescription
optional label string The label to display on the left side of the text box.
name string The name of the field that is passed when the form is submitted.
rows int The height of the text area in number of lines of text. This is identical to the HTML textarea tag.

Examples

<fb:editor-textarea />
Image:FBML_editor_textarea.jpg


<fb:editor-textarea label="Comments" />
Image:FBML_editor_textarea2.jpg


<fb:editor-textarea> You can set the initial value too. </fb:editor-textarea>
Image:FBML_editor_textarea3.jpg

Notes

  • While this field is not a required child of fb:editor, it looks best[who says?] when it is.
reference