X:dothisfor

~[x:dothisfor] is an X Code that displays how many students are selected in plain English, or displays the name of a single selection.

Parameters
~[x:dothisfor;{param1;}...{paramN;}{default}]

Function Parameters

 * - (Optional) What set of students should the tag render for?
 * - Output for currently selected students
 * - Output name of a single student


 * - If multiple values are passed into a single parameter separated by commas,  specifies the default param value.

GET Parameters

 * - If param isn't passed to the tag itself, it looks for a  GET query string parameter with the same possible values as

Output Type
String

Source
~[x:dothisfor;selected]

Output
The selected 60 students

URL
/admin/example.html?dothisfor=selected

Source
~[x:dothisfor]

Output
The selected 60 students