Program Confirmation Form

Command link:     None
HTML document:  program_confirm.html

This form controls the appearance of the program confirmation form. If this form exists, the system uses this form rather than the default display. The valid tokens for this custom form are:

Token Function
<!--{startover}--> The system replaces this token with the value of the BUT_STARTOVER Web option. Clicking this link directs the user to the URL specified in the PSTARTOVER Web option.
<!--{patronrecord}--> This token is replaced by the value defined by the BUT_PLOGOUT Web option. Clicking this link takes the user to the patron record.
<!--{logout}--> This token is replaced by the value defined by the BUT_LOGOUT Web option. Clicking this link takes the user to the mainmenu.html page.
<!--{return}--> The system replaces this token with the value of the ICON_RET2PROG Web option. Clicking this link takes users back to the page from which they accessed the registration page.
<!--{patronname}--> This token is replaced by the value in the PATRN NAME variable-length field in the patron record.
<!--{progname}--> The system replaces this token with the name of the program.
<!--{iferrmsg}--> The system checks for an error condition. If one exists, the system uses any tokens and displays any HTML text specified between this token and its closing <!--{xif}--> token. Otherwise, the system ignores any content between this token and its closing <!--{xif}--> token.
<!--{errmsg}--> If there is an error condition, the system replaces this token with the system-generated error message.
<!--{ifregistrationerror}--> The system checks for an error condition. If there is an error, but it is not a system error (e.g., the patron is blocked or not eligible, or the section is not open for registration, etc.), the system uses any tokens and displays any HTML text between this token and the next <!--{xif}--> token. You can add an <!--{errmsg}--> token to display a system-generated error message after this token.
<!--{xif}--> Closes the <!--{ifregistrationerror}--> block.
<!--{ifblocked}--> The system checks whether there are any blocks in place to prevent the patron from registering for this program. If there are any blocks, the system uses any tokens and displays any HTML text specified between this token and its closing <!--{else}--> token. You can add an <!--{errmsg}--> token to display a system-generated error message after this token.
<!--{xif}--> Closes the <!--{ifblocked}--> block.
<!--{ifnoteligible}--> If the user is not eligible for this program, the system uses any tokens and displays any HTML text between this token and the next <!--{xif}--> token. You can add an <!--{errmsg}--> token to display a system-generated error message after this token.
<!--{xif}--> Closes the <!--{ifnoteligible}--> block.
<!--{ifrecordnotavail}--> This token is not valid in Sierra.
<!--{xif}--> Closes the <!--{ifrecordnotavail}--> block.
<!--{ifnotopen}--> If the section is no longer available for registration (e.g., registration is closed, the section is full, the section or program has been cancelled, etc.), the system uses any tokens and displays any HTML text between this token and the next <!--{xif}--> token. You can add an <!--{errmsg}--> token to display a system-generated error message after this token.
<!--{xif}--> Closes the <!--{ifnotopen}--> block.
<!--{ifsystemerror}--> The system checks for an error condition. If there is a system error, the system uses any tokens and displays any HTML text between this token and the next <!--{xif}--> token. You can add an <!--{errmsg}--> token to display a system-generated error message after this token.
<!--{xif}--> Closes the <!--{ifsystemerror}--> block.
<!--{else}--> If no error condition exists, the system uses any tokens and displays any HTML text specified between this token and its closing <!--{xif}--> token.
<!--{registeredstatuses}--> If the patron is successfully registered for the program, the system replaces this token with the patron's registration information, including the number of registered seats and any accompanying information the user entered into the text box(es) that replaced the <!--{multiregnotes}--> token(s) on the program registration page.
<!--{waitlistedstatuses}--> If the patron is waitlisted for the program, the system replaces this token with the patron's waitlist information, including the number of waitlisted seats and any accompanying information the user entered into the text box(es) that replaced the <!--{multiregnotes}--> token(s) on the program registration page.
<!--{progdesc}--> The system replaces this optional token with the program description.
<!--{instructor}--> The system replaces this optional token with the name of the instructor.
<!--{iffee}--> The system checks to see if there is a fee associated with registering for the program. If so, the system will display the content and tokens between this token and its closing <!--{xif}--> token.
<!--{price}--> The system replaces this optional token with the price to register.
<!--{xif}--> Closes the <!--{iffee}--> block.
<!--{sessionsummary}--> The system replaces this token with the contents of the Session Summary variable-length field, which contains the series of session days and times as well as any manually added session summary information.
<!--{viewhidesessionlist}--> The system replaces this token with the day and time of the next session as well as a view additional sessions link. Clicking the view additional sessions link enables users to access detailed information for all sessions associated with the section.
<!--{location}--> The system replaces this token with the location for the section.
<!--{publicnote}--> The system replaces this token with the public notes for the program and for the section. The system displays only the first note from each record.
<!--{progthumbnail}--> The system replaces this token with HTML which displays the image specified by the URL in the THUMB URL field of the program record. Clicking on this image displays the full-sized image specified by the URL in the IMAGE URL field of the program record.
<!--{ifpaid}--> The system check to make sure that the user has successfully paid the registration fees for the program. If so, the system uses any tokens and displays any HTML text specified between this token and its closing <!--{xif}--> token.
<!--{paymentdate}--> The system replaces this token with the date the payment was made for registration fees.
<!--{progname}--> The system replaces this token with the name of the program.
<!--{feestable}--> The system replaces this token with a table containing the registration fees for each seat and a total amount owed for the registration.
<!--{print}--> The system replaces this token with the value of the ICON_PRINT Web option.
<!--{billinginfo}--> The system replaces this token with the header text "Billing Information:".
<!--{patronname}--> This token is replaced by the value in the PATRN NAME variable-length field in the patron record.
<!--{receiptaddress}--> The system replaces this token with the address the user entered on the program_payform.html form.
<!--{receiptcity}--> The system replaces this token with the city the user entered on the program_payform.html form.
<!--{receipstate}--> The system replaces this token with the state the user entered on the program_payform.html form.
<!--{receiptzip}--> The system replaces this token with the zip code the user entered on the program_payform.html form.
<!--{receiptemail}--> The system replaces this token with the email address the user entered on the program_register.html form. If no email address was entered on this form, the system uses the entry from the EMAIL ADDR variable-length field in the patron record.
<!--{receiptccnumber}--> The system replaces this token with the credit card number the user entered on the program_payform.html form. Note that only the last 4 digits display; the first 12 digits display as asterisks.
<!--{receiptccexpirationmonth}--> The system replaces this token with the expiration date (month) the user entered on the program_payform.html form.
<!--{receiptccexpirationyear}--> The system replaces this token with the expiration date (year) the user entered on the program_payform.html form.
<!--{receiptrefnum}--> The system replaces this token with the reference number for the payment.
<!--{xif}--> Closes the block begun by the <!--{ifpaid}--> token.
<!--{xif}--> Closes the block begun by the <!--{else}--> token.
<!--{botlogo}--> The system replaces this token with the value of the BOTLOGO Web option.

You can create separate custom forms for each combination of language, scope, and patron type by using the following naming convention:

program_confirm_LANG_s#.html

LANG The language code (spi for Spanish, frc for Canadian French, etc.).
s# The number of the scope (s1, s2, s3, etc.).

After you make any changes to this page, you must use the refresh function to display the changes.

For a current example of this form, see the appropriate example set in WebPAC Example Sets and Photoshop Files on CSDirect.

See also:
Refreshing Web Applications