<sn:multi-challenge-selector>
Renders a person selector box for sending multiple challenges.
The user clicking the challenge button will be taken to the
challenge URL you have specified in your app settings. If you've
specified a board name, that will be included as a parameter (name)
on your challenge URL. We'll also make a unique ID for this
challenge and assign it to a challenge id parameter (cid) on your challenge URL.
Note:
1) The bebo policy for messaging under 18 users will apply and those users will not be displayed
in the results.
2) This tag will not be rendered if the app does not have a challenge url set.
Attributes
- g.string; < required > A comma separated list of member ids that will show up in the selector. A maximum of 100 ids can be passed in. Must be a comma separated list of ids .
- string < optional > An indicator for which scoreboard you would like to get the scores and ranks from. Can be any string .
- string < optional > The type of score. Can be either high (default) or cumulative. Must be one of : high cumulative
- integer < optional > The maximum number of users that can be selected. Can range from 1 to 10 with 5 as the default. Must be an int .
- string < optional > A short message to display above the selector. Can be any string .
- boolean < optional > Whether or not to show a border around the selector. The default is false. Must be a boolean .
- integer < optional > The height of the selector in rows. Can vary from 3 to 10. The default is 4. Must be an int .
- boolean < optional > Only display users who are online at the moment.The default is false. Must be a boolean .
Valid Contexts
- : The area where your app is displayed alone
Code
<sn:request-form action="" type="Challenge" content="Challenges" challenge=true> <sn:multi-challenge-selector
actiontext="this is the action text" ids="id1, id2, ..."/> </sn:request-form> Play with this code in the sandbox