Fb:editor-custom

From Facebook Developers Wiki

Jump to: navigation, search

Contents

[edit] Description

Allows you to put any content into an fb:editor block, as long as it is valid FBML.


[edit] Attributes

RequiredNameTypeDescription
optional label string The label text for left hand side.
id string The identifier tag for fb:editor.


[edit] Examples

This creates a drop down selector.

<fb:editor-custom label="Status"> <select name="state"> <option value="0" selected>have read</option> <option value="1">am reading</option> <option value="2">want to read</option> </select> </fb:editor-custom>

You can also put regular text into the form.

<fb:editor-custom> Here is text on the right side. </fb:editor-custom>


[edit] Notes

  • Password fields are currently supported.