Reset a PIN Form

Command link:     None
HTML document:  pinreset.html

This form controls the display of the Reset a PIN form. If this file exists, the system uses it rather than the default display. The valid tokens for this custom form are:

Token Description
<!--{toplogo}--> The system replaces this token with the HTML defined in the TOPLOGO Web option.
<!--{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
<!--{patform}--> The system replaces this token with the system generated display in the body of the form, including all tokens listed under advanced customization.
<!--{botlogo}--> The system replaces this token with the value of the BOTLOGO Web option.

For advanced customization of the form, the <!--{patform}--> token can be replaced with the following:

<form method="post"> This HTML tag begins the HTML form and is required.
<!--{iferrmsg}--> System checks to see if there are form submission errors. If so, use the <!--{errmsg}--> token.
<!--{errmsg}--> Displays various error messages to the user explaining why the patron record cannot be accessed (for example "Invalid PIN", "Sorry, cannot locate patron record", "Sorry, name entered does not match name in record", "Please fill in ALL of the following information", etc.)
<!--{xif}--> Closes the <!--{iferrmsg}--> block
<!--{enterinfo}--> The system replaces this token with the following text string: "Please enter the following information:"
<!--{ifneedpatronname}--> This token instructs the system to check if patron name is used for verification.
<!--{nameexample}--> The system replaces this token with the value of the Example for name prompt from the Patron self-identification prompts & examples, OPAC option.
<!--{nameprompt}--> The system replaces this token with the value of the Prompt for name from the Patron self-identification prompts & examples OPAC option.
<!--{name}--> Input for Patron Name
<!--{xif}--> Closes the <!--{ifneedpatronname}--> block
<!--{ifneedpatronverify}--> Checks if numeric fields (barcode, PIN) are used for verification on the system
<!--{barcodeexample}--> Example for barcode; reads the Example for patron IDin the Patron self-identification prompts & examples OPAC option
<!--{barcodeprompt}--> Prompt for barcode; reads the Prompt for patron ID from the Patron self-identification prompts & examplesOPAC option.
<!--{barcode}--> Input for Patron Barcode or ID Number
<!--{xif}--> Closes the <!--{ifneedpatronverify}--> block
<!--{newpinmsg}--> The system replaces this token with the value of the NEWPIN_MSG Web option.
<!--{pin1}--> The system replaces this token with the first input for a new PIN.
<!--{pin1prompt}-->

The system replaces this token with the value of the NEWPIN1_PROMPT Web option. If this option is not defined, the system replaces this token with the following message:

Please enter your PIN

<!--{pin2}--> The system replaces this token with the second input for a new PIN.
<!--{pin2prompt}-->

The system replaces this token with the value of the NEWPIN2_PROMPT Web option. If this option is not defined, the system replaces this token with the following message:

Enter your PIN again

<!--{submit}--> The system replaces this token with a Submit button for the form
</form> This HTML tag closes the HTML form and is required.

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

pinreset_LANG_s#_p#.html

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

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