I'm using the validation plugin for jquery on our e-commerce site. I was told
that a large percentage of users were dropping out on our payment page. In
the UK card numbers are of the format 1111 1111 1111 1111 so this is
naturally how users will type them in. 

Basically add a space in to the plugin to let users use space delimiters
line 1032. this'll probably make the company some extra cash!

code:
// accept only digits and dashes
                        if (/[^0-9- ]+/.test(value))

packed version attached.
-- 
View this message in context: 
http://www.nabble.com/credit-card-validation-UK-tp17986138s27240p17986138.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to