Donation Form

Command link:     /donate
HTML document:  donateform.html

Staging

Ecommerce Web forms are not stageable.

This form controls the appearance of the donation form. If this form exists, the WebPAC uses this form rather than the default display. Note that this form is normally inserted into an existing HTML page as a popup window. By default, this form does not include a TOPLOGO, BOTLOGO, or logged-in message. The valid tokens for this custom form are:

Invalid Tokens

This custom form does not accept <!--{toplogo}--> or <!--{botlogo}--> tokens.

Token Function
<!--{formbegin}--> The system replaces this token with an opening <FORM> tag. This token must be placed in the custom form before any form-related tokens.
<!--{date}--> The system replaces this token with the current date.
<!--{ecomlibraries}--> The system replaces this token with a drop-down list of libraries listed in the Ecommerce Account Parameters file. The user can use this list to select a specific library to make a donation to.
<!--{submit}--> This token is no longer used.
<!--{cancel}--> The system replaces this token with the value of the ICON_CANCEL Web option. Clicking this link closes a window if you have configured your WebPAC to open the donation form in a new window.
<!--{continue}--> The system replaces this token with the value of the ICON_PAY_CONTINUE Web option. Clicking this link directs the user to Paypal's website.
<!--{amount}--> The system replaces this token with a form input box for users to enter the donation amount. The input box accepts only numeric characters and a maximum value of $9999.99
<!--{ccnum}-->

This token is no longer used.

<!--{ccexpmonth}-->

This token is no longer used.

<!--{ccexpyear}-->

This token is no longer used.

<!--{cc_cvv2}-->

This token is no longer used.

<!--{name}--> This token is no longer used.
<!--{address1}--> This token is no longer used.
<!--{address2}--> This token is no longer used.
<!--{city}--> This token is no longer used.
<!--{state}--> This token is no longer used.
<!--{zip}--> This token is no longer used.
<!--{phone}-->

This token is no longer used.

<!--{emailaddr}-->

This token is no longer used.

<!--{comments}--> The system replaces this token with a form input box for users to enter comments.
<!--{declined_msg}-->

This token is no longer used.

<!--{error_msg}--> The system replaces this token with any system-generated error messages.
<!--{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.

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

donateform_LANG_s#_p#.html

LANG The language code (e.g., spa for Spanish, fre 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.