Tags Order A-Z Category Context

<sn:request-form>

Renders a request form used to invite people to your application or to challenge people to play a game with you. The form can contain any number of fields that emit user ids, among these sn:multi-friend-selector, sn:multi-friend-input and sn:multi-challenge-selector. If the challenge attribute is set to true, this will send a challenge. Otherwise it will send an invite.

Attributes

  • string < required > The type of request to send, e.g. invitation, challenge Can be any string .
  • string < required > The SNML that will be displayed on the request page. This should include links and any sn:req-choice tags. Can be any string .
  • boolean < optional > If true, this is a challenge. Otherwise its an invite. The default is false (i.e by default it will send an invite). Available only for game apps. Must be a boolean .
  • string < optional > The url to which the form is sent after it is submitted. This will be ignored if sending challenges. Can be any url .
  • string < optional > The HTTP method that will be used to send the form (GET or POST). Must be one of : GET get POST post
  • string < optional > The type of invite to send. This can be used to track the effectiveness of the different types of invites being sent. Can not be used for challenges. Can be any string .

Valid Contexts

  • : The area where your app is displayed alone