oCourse.HTMLDonations ​
Returns Donations field.
ACEweb Routines/Templates ​
Required Parameters ​
None
Optional Parameters ​
- Character return value: L generates labels, F generates input fields, LF generates both.
- Additional HTMLÂ attributes, enclosed in quotation marks.
- Numeric value to specify the tabindex value.
- Character return value: delimiter placed after each label. Default is :. Only used if parameter 1 is L or LF. If you use this option and remove the
<label>
tag from the template, this must include the closing</label>
tag. E.g. [:</label>
]. The opening<label>
tag will be generated by the function. - Character return value: delimiter placed before each field. Default is $. Only used if parameter 1 is F or LF.
- Character return value: delimiter placed after each field. Default is an empty string. Only use if parameter 1 is F or LF. E.g. [
<small>Indicate the amount you wish to contribute.</small>
]
Example(s) ​
##oCourse.HTMLDonations([L],,,[:</label>
])## returns label of donation fee from course record (e.g. Donation Amount:)
##oCourse.HTMLDonations([F],,,,,[<small>Indicate the amount you wish to contribute.</small>
])## returns donation field for user to enter amount with Indicate the amount you wish to contribute text after field.