wangjohn / creditly Goto Github PK
View Code? Open in Web Editor NEWAn intuitive credit card form
Home Page: http://wangjohn.github.io/creditly/
License: MIT License
An intuitive credit card form
Home Page: http://wangjohn.github.io/creditly/
License: MIT License
Module doesn't work on all mobile devices( iOS, Android ),has been tested on different browsers.
By default the form automatically puts spaces between each group of 4 numbers in the credit card number. However this formatting continually gives me the error mentioned in the issue title unless I remove those spaces manually.
The numbers to enter for an American Express card are different, 1 number less and the order is xxxx xxxxxx xxxxx.
Perhaps a toggle for input would be best?
For example on my Czech keyboard I write number as Shift + num and probably some validation cancels that input so they are non-editable for me.
I love this library! Any chance you could add an option to display a green checkmark in the card field after the user has typed a valid number? The previous code that I was using did this. It would fire on each keypress and check the Luhn Algorithm I believe.
if possible, show the MasterCard OR ViSA OR Maestro Logo depending on the 1st number
Because CVV field is the only field on the other side of most cards, user has to flip his card 1 time more that he would if CVV was the last required field.
Doesn't work in Firefox 26, works fine in Chrome. OSX.
After clicking the submit button with empty fields, all fields can no longer be typed into.
Cross browser testing is extremely important for this kind of thing! Check out Stripe's checkout.js , it has a ton of subtle usability enhancements that this project could benefit from as well.
Hi,
Great library
I am trying to show the error in div. can you help me on this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.