Config.js example: Form Validation

This page is designed to show how to use the config.js library to create a simple form validation system. You can take a look at the script to see how it works, and view the source of this document to see the configuration XML that it uses at the end of the page. There is also a version of this page that uses an external XML file.

Note: do not put it in a real credit card number in to this form.

Mailing Information
Name :
Address :
City :
Province :
Postal Code :
Billing Information
Credit Card Type :
Credit Card Number :
Note: Do not put in your real credit card number. This is just an example. Please put in any 16 digit number.
Credit Card Expiry :