Bringing romance back .... to forms
No Longer Maintained
Sadly, I do not have any time to continue maintaining and supporting this project. If you'd like to continue you working on the project, please fork it. You can find the next release I was working on a while back on the revamp branch - some tests were failing that need to be fixed before it is ready for prime time. https://github.com/omarshammas/jquery.formance/tree/revamp
Best of luck. Omar
What is Formance?
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 email@example.com: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)
- Time yy / mm
- Uk Sort Code
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.