Input Validation Oddities
I happened to see the
FAQ for a site called
cartell.ie. It runs some sort of information service for cars. Note the last question. "Ensure you enter the registration correctly without any spaces." Now, an Irish car registration is of the form [0-9]{2}-[A-Z]{1,2}-[0-9]{1,6} more or less; that is, a two digit date, a one or two letter county code, and a registration number ranging from one to six digits. Generally separated by spaces or dashes. Given that the programmer
knows what format they're receiving, they could very easily have made allowance for the user entering it in one of those ways, making the site easier and less frustrating to use. So why on earth didn't they?
No comments:
Post a Comment