Fb:editor-textarea

From Facebook Developers Wiki

Jump to: navigation, search

Contents

[edit] Description

Creates a <textarea> element.


[edit] 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.


[edit] 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


[edit] Notes

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