Working with form information is important in developing any online application. FBML has some constructs to help with these common tasks.

  • <fb:request-form> creates a form for sending requests. This is a great way to let your users send requests to add the application (when used with the <fb:multi-friend- seletor> tag). You cannot use this tag if you are using iframes.
  • <fb:request-form-submit> creates a submit button for use with the <fb:request-form> tag.
  • <fb:multi-friend-input> renders a multifriend input field like the one used in the message composer.
  • <fb:friend-selector> renders an autocomplete input box of the user’s friends.
  • <fb:submit> creates a JavaScript submit button for your forms. This is generally used when you want to use an image instead of a submit button, such as <fb:submit><img src="path/to/image" /></fb:submit>.

0 comments