Bringing romance back .... to forms
Formance.js is a jQuery library for formatting and validating form fields, based on / inspired by Stripe's jQuery.payment library.
You can find a full demo here.
Or you can run the demo locally
git clone firstname.lastname@example.org:omarshammas/jquery.formance.git cd jquery.formance/demo python -m SimpleHTTPServer
Open a browser and go to
Read this wiki article on how to get started
- Credit Card CVC
- Credit Card Expiry
- Credit Card Number
- Date dd / mm / yyyy
- Date yyyy / mm / dd
- Email Address
- Ontario Driver's License Number
- Ontario Outdoors Card Number
- Ontario Photo Health Card Number
- Phone Number (US & Canada)
- Postal Code (Canada)
Please see the Formance Wiki for more information.
Contributions are more than welcome. Please read this to see how to contribute your own field. Together we can make this a solid library, and hopefully a friendlier web.
Please see LICENSE for licensing details.