Fb:editor-text

From Facebook Developers Wiki

Jump to: navigation, search

Contents

[edit] Description

Creates an <input> of type text.


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


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


[edit] Notes

This tag must be included within Fb:editor.