"No Dashes Or Spaces" Hall of Shame
unixwiz.net
unixwiz.net
I changed the text to read "specify all dates in YYYYMMDD format, no spaces or slashes" and everyone loved it afterwards. I kept the intelligent parsing as an easter egg.
Summary: "intelligent" interfaces will always fail for trying to solve a problem (the Chinese room) which is un-decidable even for a human mind, and so the future will use dumb, reliable interfaces (until we can figure out telepathy). Corollary: users shouldn't be blamed for not wanting to trade reliability for "awesomeness". Read the article, it's worth it.
Folks from different parts of the world disagree.
They were expecting to have to retype the date, after the program rejected their first attempt. That's the way it usually goes ...
I have a feeling it's a case of not caring how to enter the date, and not caring to try a few and find out. Much easier if you're told exactly what to do, so you have to think, because apparently checking who used the NMR machines last week is not something people want to think about. (Fair enough.)
Relatedly but of less obvious salience to most Americans: if you tell me to write my name in hankaku kana and I write it in zenkaku kana then rather than telling me to rewrite it, call your zenkakuToHankaku function on my input, see if it contains anything other than kana, and if not just coerce the input over. I have been on a crusade to do this at my day job.
Force people to enter their area code.
What do you do about international numbers? It's a bit more complicated, and the grouping is less obvious.
-Enter credit card!
-Uhm, I wonder if it means with spaces or with dashes or just the numbers, I hope the money won't go to the wrong place
If it says 'no dashes or spaces' at least it's clear and might be reassuring to the user that the designers have thought of the same thing as him/her, which sort of indicates that he/she is on the right track and hasn't screwed up yet.
I'm not saying this is good usability practice, but it would be interesting to test different versions for user reactions.
This probably has something to do with the new TSA regs that state that the name on the ticket has to match EXACTLY with the name on your ID.
Unfortunately, my wife's full name still doesn't fit on her NY driver's license, meaning she can only travel using her passport as ID.
I wonder how it must feel to have a reeeeeally long name (like some Indian/Thai/Indonesian 20+ character names), and how the airlines, TSA, and other ID-issuing authorities deal with this? (to say nothing of non-romanized names!) What does Seetharaman Narayanan's name (Photoshop engineer) look like on an airline ticket?
Now it doesn't have to match.
(Hint: you do not need an ID in the US. It's annoying if you don't have one, but the TSA has procedures for this case. The airline may want an ID if you don't pre-print your boarding pass or want to check a bag. But they are going to be more flexible about things not matching, as they actually have a customer to lose if they fuck you over.)
http://www.tsa.gov/what_we_do/layers/secureflight/faqs.shtm
"If the name printed on my boarding pass is different than what appears on my government ID, will I still be able to fly?
Due to differences in boarding pass systems, boarding passes may not always display the exact name you provided when booking your travel. The name you provide when booking your travel is used to perform the watch list matching before a boarding pass is ever issued, so small differences between the passenger's ID and the passenger name printed on the boarding pass, such as the use of a middle initial instead of a full middle name or no middle name/initial at all, or hyphens and apostrophes should not cause a problem for the passenger."
reconciles with this:
http://www.tsa.gov/travelers/airtravel/acceptable_documents....
"Passengers who do not or cannot present an acceptable ID will have to provide information to the Transportation Security Officer performing Travel Document Checking duties in order to verify their identity. Passengers who are cleared through this process may be subject to additional screening. Passengers whose identity cannot be verified by TSA may not be allowed to enter the screening checkpoint or onto an airplane."
That sounds like fun.
FWIW the NY driver's license only had room for my wife's first and middle INITIALS and our last name. Not exactly a recipe for a happy front-line TSA experience.
The requirement to select a card type always seems wrong to me. When you swipe a card at a terminal, you don't have to tell it if you're swiping an AmEx or a Visa. It can tell JUST from the number.
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.
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.
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.
Now every site allows different subset ot such characters, so every site forces user to have different password to it, if user wants non-alphanumerics in password.
I would like to have 3 passwords - trash password for social sites, etc; better password for e-mail; and good password for important things. It would be managable.
Thanks to arbitrary restrictions I have to remember many more passwords. Which is bad for security.
The other day I was glad of that. I bought a game, was asked to create an account, typed in a password at the site; then received a confirmation email with the password in plain text - which probably means they are stored in plain text, not to mention left lying around in mail archives. Just a matter of time until one of those sites gets hacked and their DBs circulated.
(P.S. I did write them a polite note suggesting not doing it, and they seem to at least have stopped sending passwords in email; I don't have much hope about their storing hashes. Probably plenty of others less blatant but just as insecure ...)
Because there are keyboards other than the U.S. PC keyboard. The one I'm using right now, for instance, has '=' as shift-0.
With characters echoed as asterisks, if there is any sort of problem with key mapping, the user will be locked out. And giving up or calling support.
I mean - users will probably use characters that are on their keyboards, or that they know how to generate. Why disallow characters when users choose them on their own?
In Cygwin, my home directory is /cygdrive/c/Documents and Settings/myusername. This breaks fucking everything. I have to re-export $HOME as /cygdrive/c/DOCUME~1/myusername.
Yes, Windows also sucks.
s/\D//g
Never "filter out the badness", always "filter for only the goodness" then use the good value. Exhaustively enumerating the goodness is easier than exhaustively enumerating the badness.
(I'd combine this with a check for length, too.)
I used to have a fifteen-digit number on a visa or mastercard (not amex), which was a little weird, but I was amazed how many vendors couldn't handle it. Aren't there standards for this stuff?
1) strip whitespace off the front and backend. 2) eliminate unexpected characters in the middle of the string like - or spaces.