Fb:editor-text

From Facebook Developer Wiki

Jump to: navigation, search

Contents

Description

Creates an <input> of type text.

Warning: This form is submitted via POST method.

Attributes

RequiredNameTypeDescription
optional label string The label to display on the left side of the text box.
name string The name for the control.
value string The default text that populates the text box.
maxlength int The maximum length of the input allowed in the text box.

Examples

<fb:editor action="?do-it" labelwidth="100"> <fb:editor-text label="Title" name="title" value=""/> <fb:editor-buttonset> <fb:editor-button value="Add"/> <fb:editor-button value="Recommend"/> <fb:editor-cancel /> </fb:editor-buttonset> </fb:editor>
Image:fbbutton_editor-text.jpg

Notes

This tag must be included within Fb:editor.

reference