zdfs / toscani

This is a jQuery-based, progressively-enhanced solution for creating a single-field credit card input. The idea is to create a more streamlined credit card entry process.
872 stars 102 forks source link

Changed placeholder to be valid number. #11

Closed patrick-mcdougle closed 11 years ago

patrick-mcdougle commented 11 years ago

fixes #10

patrick-mcdougle commented 11 years ago

If 4111 1111 1111 1111 is not supposed to be valid, then why does the demo accept it?

rakeev commented 11 years ago

http://www.ee.unb.ca/cgi-bin/tervo/luhn.pl?N=4111+1111+1111+1111 4111 1111 1111 1111 is valid, read carefully

Demo does not perform such check

zdfs commented 11 years ago

4111 1111 1111 1111 is valid. Not sure we need to change the placeholder value, but something generic like 4111 1111 1111 1111 is fine.

patrick-mcdougle commented 11 years ago

Sorry, I think I must have been over-tired last night. I think this can be closed as a non-issue