Skip to content

oCourse.HTMLDonations ​

Returns Donations field.

ACEweb Routines/Templates ​

XEnrollcard.htm

Required Parameters ​

None

Optional Parameters ​

  1. Character return value: L generates labels, F generates input fields, LF generates both.
  2. Additional HTML attributes, enclosed in quotation marks.
  3. Numeric value to specify the tabindex value.
  4. 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.
  5. Character return value: delimiter placed before each field. Default is $. Only used if parameter 1 is F or LF.
  6. 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.