Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
xentronium
on July 15, 2015
|
parent
|
context
|
favorite
| on:
The anatomy of a credit card form
Judging from the screenshots with filled inputs, they automatically add spaces making the card number look exactly like it is on the physical card.
https://medium2.global.ssl.fastly.net/max/800/1*QzxyS4KGIvCw...
tomp
on July 15, 2015
[–]
The live demo linked flat the end of the blog post makes a feeble attempt to insert a space after the first 4 digits, but ultimately fails (on Firefox 38 on Windows).
calebegg
on July 15, 2015
|
parent
[–]
Probably because you didn't enter a valid card number. Try something that starts with '42' (for a Visa card). It works for me with a valid number.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://medium2.global.ssl.fastly.net/max/800/1*QzxyS4KGIvCw...