Bookings Item Selection Form

Command link:     none
HTML document:  bookings_item_select.html

This form controls the display of the Bookings Item Selection form. Using this form, the patron specifies items to book through the WebPAC. If this file exists, the WebPAC uses it rather than the default display.

This form uses the following tokens:

Token Description
<!--{toplogo}--> Displays HTML defined in the TOPLOGO Web option. This token does not supply the opening <HTML> and <BODY> tags for this form.
<!--{formbegin}--> This required token is replaced by a formatted opening <FORM> tag. This token must be placed in the custom form before any form-related tokens.
<!--{prevpage}--> This token is replaced with the value of the ICON_PREVPAGE Web option.
<!--{record_info}--> This token is replaced with the brief record information for the record being booked.
<!--{iferr}--> If an error is generated in the booking process, the <!--{error_msg}--> token is replaced by any text defined between this token and the closing <!--{xif}--> token.
<!--{error_msg}--> If an error is generated by the booking process, The system replaces this token with the error message text defined between the <!--{iferr}--> and <!--{xif}--> tokens.
<!--{xif}--> Closes the <!--{iferr}--> logic.
<!--{ifrepeat}--> If the BOOKINGS_REPEAT Web option is set to "true," show the content and interpret the tokens between this token and its corresponding <!--{xif}--> token.
<!--{repeat}--> The system replaces this token with the repeat selection controls.
<!--{duration}--> The system replaces this token with the duration selection controls and inserts the "Duration: Until" label under the duration selection controls.
<!--{xif}--> Closes the <!--{ifrepeat}--> logic.
<!--{ifitemlist}--> If the table containing the list of bookable items is included on the display, the text contained within this block will also be displayed.
<!--{itemlist}--> This token is replaced with the list of bookable items.
<!--{xif}--> Closes the <!--{ifitemlist}--> logic.
<!--{book_from}--> This token is replaced the starting date and time of the booking.
<!--{endtimedayhour}--> The system replaces this token with the navigation tool that allows the user to select the ending date and time for the booking. If this token does not exist in this file, the system uses the loan period in the loan rule to determine the end date for the booking.
If the booking is daily instead of hourly, any data entered in the time selection portion will be ignored when the booking is processed.
If your organization does not allow hourly bookings, use the <!--{endtimeday}--> token instead of this token.
<!--{endtimeday}--> The system replaces this token with the navigation tool that allows the user to choose only the ending date for the booking and does not allow the user to choose an ending time. Only use this token if your organization does not allow hourly bookings.
<!--{ifneednote}--> If the navigation tool allowing the user to select the ending date or the navigation tool allowing the user to select both the ending date and time is included on the display, the text contained within this block, including the bookings note, will also be displayed.
<!--{note}--> The system replaces this token with a form field for patrons to enter a note.
<!--{xif}--> Closes the <!--{ifneednote}--> logic.
<!--{submit}--> The system replaces this token with the value of the ICON_SUBMIT Web option.
<!--{cancel}--> The system replaces this token with the value of the ICON_CANCEL Web option. Clicking this link returns the patron to the bibliographic display.
<!--{formend}--> The system replaces this token with a closing </FORM> tag. This token must be placed in the custom form after all form-related tokens.
<!--{botlogo}--> Displays the HTML defined in the BOTLOGO Web option. Inserts the </BODY> and </HTML> tags that finish an HTML page.

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

bookings_item_select_LANG_s#_p#.html

LANG The language code (e.g., spi for Spanish, frc for French).
s# The number of the scope (e.g., s1, s2, s3).
p# The patron type or PTYPE (e.g., p0 or p243).

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