Fb:editor-button

From Facebook Developers Wiki

Jump to: navigation, search

[edit] Description

Renders a button of type submit inside an fb:editor tag.

This tag can be a child of an fb:editor-buttonset container to render multiple buttons next to each other. If the button is not in a fb:editor-buttonset, the button still renders, but is not styled as an editor-button.[possible bug?]


[edit] Attributes

RequiredNameTypeDescription
required value string The text label for the button.
optional name string The variable name that is sent in the POST request when the form is submitted.


[edit] Examples

<fb:editor> <fb:editor-buttonset> <fb:editor-button value="Add" name="add"/> <fb:editor-button value="Recommend" name="recommend"/> </fb:editor-buttonset> </fb:editor>
fbeditorbuttonhe0.gif