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

UK Zip/Postcodes #8

Open voodoo6 opened 11 years ago

voodoo6 commented 11 years ago

This is great!

Would be nice if it could support UK postcodes too? (I suppose you'll get a lot of these requests as this gets more popular!)

One other thing - when you mention:

"Auto-focus only works on the Desktop and stand-alone webapps. iOS won't allow auto-focus within >Safari. However, auto-focus in an iOS stand-alone webapp will feel jumpy due to iOS trying to hide the >keyboard only to have it reappear. No way to just leave the keyboard up while auto-focusing."

Just to confirm - is this why on iOS I have to use the 'next' button on the top left of the keypad to get to the next fields? (ie. the cursor doesn't auto-focus on the next field after one is completed?)

zdfs commented 11 years ago

Yes, I'm working on another version to mitigate that, but I haven't had any time to dedicate to it yet. You're more than welcome to fork the repo to support UK postcodes. This repo is really just a proof of concept.