Modify Your PIN Form

Command link:     None
HTML document:  newpin.html

This customized file controls the appearance of the Modify Your PIN display in the patron record. If this file exists, the system uses it rather than a default display. This form uses the following tokens:

HTML

This HTML document does not define the HTML for the entire form, as this form is embedded in the system-generated HTML output of the /patroninfo Patron Record display. Therefore, the system automatically outputs:

  • <HTML>, <HEAD>, and <BODY> tags,
  • Patron information and options, including the "Start Over" button,
  • TOPLOGO and BOTLOGO
<!--{iferrmsg}--> If this token is present, the system checks for any error message conditions. If there are error messages, the system interprets the tokens and markup between this token and its closing <!--{xif}--> token.
<!--{errmsg}--> The system replaces this token with the system-generated error message.
<!--{xif}--> Closes the <!--{iferrmsg}--> block
<!--{pinform}--> The system replaces this token with the default prompts and markup. To modify these prompts and markup, replaces this token with the tokens listed for advanced customization.

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

<form target=_self method=post> This HTML tag is required for the form elements listed below.
<!--{pininstructions}--> The system replaces this token with the values of the Example for PIN option defined in the Patron self-identification prompts & examples OPAC option.
<!--{pin}--> User input for patron's PIN
<!--{pinprompt}--> The system replaces this token with the values of the Prompt for PIN option defined in the Patron self-identification prompts & examplesOPAC option.
<!--{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 box for the 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 box for the 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 the Submit button for the form.
</form> This HTML tag closes the HTML form.

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

newpin_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 or p243, etc.).

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