Skip to content

oCourse.HTMLWksItem

Returns specified workshop on Script-based Express Registration Pages. For use in special circumstances where you need more control of workshop display.

ACEweb Routines/Templates

Script-based Express Registration Pages

Required Parameters

  1. Workshop Group Name (i.e. "lstWorkshop").
  2. Workshop Code (i.e. "AA01").

Optional Parameters

  1. HTML field type (i.e. "Radio" or "Checkbox").
  2. HTML Attributes (i.e. "tabindex='90'").
  3. HTML ID Code (i.e. "WkShopList1").
  4. Full Message to return if workshop is full (i.e. <strong>Workshop is Full</strong>).
  5. Student ID (i.e. pcStuID).
  6. Condition to return workshop, based on workshop master table (i.e. wmdate => date())

IMPORTANT

  • If you are using the workshop groups option, you will need to add the following hidden field to your form with the Workshop group IDs added into the Value attribute (in red below)

<input type="hidden" name="WksGroups” Value="lstWorkshop1,lstWorkshop2,lstWorkshop3” />

  • The express registration submission looks at the WksCodeMatch INI setting when determining workshop conflicts.

Examples

<%=oCourse.HTMLWksItem("lstWorkshop1","AA01") %> returns the AA01 workshop using a radio button.

<%=oCourse.HTMLWksItem("lstWorkshop1","AA01","checkbox") %> returns the AA01 workshop using a checkbox.

<%=oCourse.HTMLWksItem("lstWorkshop1","AA01",,"tabindex='30'") %> returns the AA01 workshop using a radio button and sets the tabindex to 30.

<%=oCourse.HTMLWksItem("lstWorkshop1","AA01",,"WkShopList1") %> sets the id="WkShopList1" in the HTML radio button code.