oCourse.HTMLRegFeeList
Returns main registration fee listing.
ACEweb Routines/Templates:
XEnrollcard.htm, WCS Express Registrations Templates
Required Parameters:
None
Optional Parameters:
- Additional HTML attributes, enclosed in quotation marks. Only used if parameter 2 is set to .f.
- Logical .t. use radio buttons instead of a drop down box.
- Logical .t. shows radio buttons in vertical list, one per line. Only used if parameter 2 is .t.
- Numeric return value for Default Selection:
0= show all active fees as selection options, with the first fee pre-selected (default)
1= show only the default fee (no selection options - for use on custom pages)
2= show the full fee amount--first fee (in course) plus any mandatory fees (for use on custom pages)
- Numeric value to specify which fee is pre-selected when adding the course to the Enrollment Cart. Defaults to fee order 1 if left blank. Memberships: if you have Memberships, you must enter pnSelectedOrder in this parameter.
- Numeric value to specify tabindex.
- Character string value determines fee amount format. Parameter has 2 parts delimited with pipes. 1) pattern for zero fee*; 2) pattern for nonzero fee. E.g. [(N/C)|$$$$.99]. Default is [(No Charge)|$$,$$$.99].
Can also use an expression to customize format, e.g. iif(oCourse.oData.cocategory=[DONATION],[Please make a Donation],[(No Charge)]).
- Name ID: Personalized fee assignments (for custom use--leave blank unless instructed to enter value by ACEware technician).
- Logical .t. shows the fee description if only one registration fee is displayed. Default is to hide fee label.
- Character string for label of custom donation amount.
- Character string for field name (for custom use--leave blank unless instructed to enter value by ACEware technician).
- Logical .t. hides single fee amount.
- Character string displayed before fee list.
- Character string displayed after fee list.
- Logical .t. skips fee if 0.00.
- Logical .t. (or plPartner) checks for the PartnerFeeKey and adds the appropriate CSS class.
* If course type is Donation, zero fee display will be blank.
Example(s):
##oCourse.HTMLRegFeeList()## returns drop down list of fees.
##oCourse.HTMLRegFeeList([style="margin-bottom: 10px"])## returns drop down list of fees with css style applied.
##oCourse.HTMLRegFeeList([],.t.,.t.)## returns radio button list of fees with 1 fee per line.
##oCourse.HTMLRegFeeList([],.t.,.t.,0,pnSelectedOrder)## returns radio button list of fees with 1 fee per line. If student qualifies for Membership rate, the Member rate will be preselected.