News for hackers. Stuff that matters.
Re:"No Dashes Or Spaces" Hall of Shame by gommm on Friday March 19, 2010 @02:51AM (#1203559)
That's true, but I think that users would probably be confused if they can't chose the card type...
Re:"No Dashes Or Spaces" Hall of Shame by jamesbritt on Friday March 19, 2010 @03:03AM (#1203572)
I would want to know that my card type will be accepted before entering the digits.

You don't need a drop-down for that, but the list needs to be someplace, and if it's part of the form it can be a sort of a CRC for user intent if the CC number doesn't pan out. Might make it easier to prompt the user to make a correction.

Re:"No Dashes Or Spaces" Hall of Shame by uggedal on Friday March 19, 2010 @04:34AM (#1203676)
Paypal shows icons of all major credit card companies below the credit card number field. When you start typing the non-matching card types gets grayed out.
Re:"No Dashes Or Spaces" Hall of Shame by jamesbritt on Friday March 19, 2010 @01:23PM (#1204620)
That is really quite clever.

It's the sort of idea one wants to generalize and steal for other things on a site.

Makes me wonder if there are any sites that showcase or catalog non-trivial/non-obvious UI techniques.

Re:"No Dashes Or Spaces" Hall of Shame by jrockway on Friday March 19, 2010 @04:15AM (#1203658)
I have seen some Javascript that adds the logo as soon as you've typed enough digits. I thought it was a nice visual cue that the card type was auto-recognized.

I think the logical improvement to this interface would be to put the credit card type after the number, and then have it be auto-selected. That way the user can select if he wants, but it will be correct by the time he goes to select it.

Re:"No Dashes Or Spaces" Hall of Shame by Manfred on Friday March 19, 2010 @04:19AM (#1203661)
Showing a logo or a message is really easy, ie. http://github.com/madrobby/creditcard_js