Tags Order A-Z Category Context

<sn:comment-form>

The <sn:comment-form> tag is currently in beta and its features, attributes and behavior could change with no notice. We'd appreciate your input while <sn:comment-form> is in beta.

Renders a customizable input for which enables the user to post a comment to a list of friends. The user is in charge of the comment text and the recipient list, which they select via a {@link SnMultiFriendInputTag}. The comment will appear on the recipient's profile page with a message indicating that it was sent from your application.

Note: this comment form may only be used once, and only one may appear on a page and work correctly. The below comment forms cannot be used to submit comments. They are here solely for display purposes.

Attributes

  • string < optional > Text that will appear in the body of the comment. The user is free to alter or remove this text. Can be any string .
  • string < optional > The width of the box in pixels Can be any string . Default is 350.
  • string < optional > The title that appears above the control Can be any string .

Valid Contexts

  • : The area where your app is displayed alone

Code

<sn:comment-form/>
 <sn:comment-form width="200" comment_text="I love this app! It's great!"/>
Play with this code in the sandbox
SNML validation error: null: The attribute uid is invalid. It must be a valid user id but was "". SNML validation error: null: The attribute uid is invalid. It must be a valid user id but was "".