Patron Verification for Bookings Form

Command link:     none
HTML document:  pverify_bookings.html

This form controls the display of the Patron Verification for Bookings Form. Using this form, the patron validates against the patron record for booking items in the WebPAC. If this file exists, the WebPAC will use it rather than the default display. You can see an example of this form in the discussion for Self-booking in WebPAC.

This form uses the following tokens:

Token Description
<!--{toplogo}--> The system replaces this token with the HTML defined in the TOPLOGO Web option. The system includes the opening <html> and <body> tags when interpreting this token.
<!--{patform}--> The system replaces this token with default system messages, input boxes, buttons, and <form> tags. For additional customization, you can replace this token with the tokens listed below.
<!--{botlogo}--> The system replaces this token with the HTML defined in the BOTLOGO Web option. The system does not inlcude closing </body> and </html> tags when interpreting this token

For External Patron Verification, the system uses following tokens:

<!--{ifextpat}--> If the External Patron Verification option has an entry for the port serving this file, the system executes the commands in this block.
<!--{extpatid}--> Inserts the External Patron Verification ID text box.
<!--{extpatpw}--> Inserts the External Patron Verification password text box.
<!--{xif}--> Closes the block.

To further customize the form display, you can replace the <!--{patform}--> token with the following:

Token Description
<!--{formbegin}--> The system replaces this token with the correctly formatted opening <form> tag. This token is required if the <!--{patform}--> token is not used.
<!--{message}--> The system replaces this token with any system messages specific to the bookings function.
<!--{iferrmsg}-->
<!--{iferrmsg}--> This token directs the system to verify if the form has been submitted properly. If there is an error, the system uses the tokens between this token and its closing <!--{xif}--> token.
<!--{iferrmsgisPIN}--> If there is an error condition, the token directs the system to verify if the patron record needs a PIN. If the patron record requires a PIN for validation, the system uses the <!--{newpinmsg}--> token (if present).
<!--{newpinmsg}--> The system replaces this token with a Please enter a new PIN message if PIN verification is required and the patron record does not have a PIN.
<!--{else}--> If there is an error condition and it is not satisfied by the <!--{iferrmsgisPIN}--> condition, this token instructs the system to use any remaining tokens between this token and the closing <!--{xif}--> token.
<!--{errmsg}--> The system replaces this token with the system-generated error message.
<!--{xif}--> Closes the <!--{iferrmsgisPIN}--> block
<!--{xif}--> Closes the <!--{iferrmsg}--> block
<!--{enterinfo}--> The system replaces this token with the following text: Please enter the following information:
<!--{ifneedpatronname}--> This token instructs the system to check if a patron name is used for verification.
<!--{nameexample}--> The system replaces this token with the Example for Name defined in the Patron self-identification prompts & examples OPAC option.
<!--{nameprompt}--> The system replaces this token with the Prompt for Name defined in the Patron self-identification prompts & examples OPAC option.
<!--{name}--> The system replaces this token with the input box for Patron Name
<!--{xif}--> Closes the <!--{ifneedpatronname}--> block
<!--{ifneedpatronverify}--> If this token is present, the system checks to see if patron verification is required. If so, the system interprets tokens and markup between this token and its closing <!--{xif}--> token.
<!--{barcodeexample}--> The system replaces this token with the example for barcode defined in the Patron self-identification prompts & examples OPAC option.
<!--{barcodeprompt}--> The system replaces this token with the prompt for barcode defined in the Patron self-identification prompts & examples OPAC option.
<!--{barcode}--> The system replaces this token with the input for Patron Barcode or ID Number
<!--{ifneedspin}--> This token directs the system to check if PIN validation is required, and if not the system proceeds to the <!--{submit}--> token
<!--{iferrmsgisPIN}--> This token directs the system to check if patron record does not have a PIN
<!--{newpinmsg}--> The system replaces this token with the value of the NEWPIN_MSG Web option.
<!--{pin1prompt}--> The system replaces this token with the following user prompt text for the <!--{pin1}--> token: Enter Your PIN
<!--{pin1}--> The system replaces this token with the first input for new PIN
<!--{pin2prompt}--> The system replaces this token with the following user prompt text for the <!--{pin2}--> token: Enter Your PIN Again
<!--{pin2}--> The system replaces this token with the second input for new PIN
<!--{else}--> This token directs the system to check if a PIN is needed and patron record has a PIN. If so, system uses the tokens to prompt for PIN input
<!--{pininstructions}--> The system replaces this token with the example text specified in the Patron self-identification prompts & examples OPAC option.
<!--{pinprompt}--> The system replaces this token with the user prompt text defined in the Patron self-identification prompts & examples OPAC option.
<!--{pin}--> The system replaces this token with the user input box for the patron's PIN
<!--{xif}--> Closes the <!--{iferrmsgisPIN}--> block
<!--{xif}--> Closes the <!--{ifneedspin}--> block
<!--{xif}--> Closes the <!--{ifneedpatronverify}--> block
<!--{pinresetrequest}--> The system replaces this token with the value of the ICON_PIN_RESET Web option. If users are allowed to reset their PINs, clicking this link takes the user to the Request a PIN Reset form.
<!--{ifalternate_id}--> If this token is present, and the HAS_ALTERNATE_ID Web option is set to true, the system interprets the tokens and displays the content between this token and its closing <!--{xif}--> token.
<!--{user_name}--> The system replaces this token with the textbox prompt for the patron's alternate ID. This input accepts a maximum of 25 characters.
<!--{xif}--> Closes the <!--{ifalternate_id}--> block.
<!--{record_info}--> The system replaces this token with the record info related to the item being booked.
<!--{submit}--> The system replaces this token with the Submit button. The image for this token is defined by the ICON_SUBMIT Web option.
<!--{cancel}--> The system replaces this token with the Cancel button. The image for this token is defined by the BUT_CANCEL Web option.
<!--{startover}--> Offers a Start Over button that points to the URL in the PSTARTOVER Web option. The button image is defined in the BUT_STARTOVER Web option.
<!--{formend}--> The system replaces this token with the closing HTML tags generated by the<!--{formbegin}--> token.

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

pverify_bookings_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.