- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
I didn't put all those trailing blank lines in that post. Weird.
Admin
There are way too many sucky sites out there that don't accept perfectly valid data. For example:
And just to remain on topic, both my wife and I have names shorter than 5 characters.
Admin
Looks like you might have shamed Aivea into fixing the validation problem.
I just tried the short form of my name and it passed validation.
Admin
I don't see any problems. they have a pretty good e-commerce product, check out the demo at http://www.aivea.com/eshopinfo.htm
Admin
Really? Dig a little deeper, it's got a lot of annoyances in it...
First, slow as fsck ;O) Hopefully it runs faster for real. On the "Normal Checkout" (what is normal besides a cycle on a washing machine). A single field for name, no validation checks. Instead of using DHTML to refresh individual fields it refreshes the whole page, which combined with it's slowness, is a major WTF...I had entered four more fields of data before the page disappeared to be refreshed with one containing the list of US states...which means i had to re-enter those fields. There are a couple more places where it does refreshes from the server.
No postal code verification (15237 belongs in Pittsburgh, PA, not Illinois). Not a lot of validation on any fields...I guess abcdefg is a valid phone number. It did at least catch an email without an @ symbol. No credit card validation, not even a server-side mod10 check. CVV can be whatever you want it to be.
I wouldn't pay more than nickel for their software. Monkeys the day after a six-day bender could have done a better job. We can prove it, if you've got the monkeys I've got the booze.
Admin
This form of form entry validation is about as irritating as the ever present select a State and 5 character zip code. I love selecting a state at random if they insist though. There are some countries with 4 number zip codes and some like Canada & the UK that has longer Alpha-Numeric zip codes. Makes on feel like doing a CD or CDA
Admin
Actually, it is a country. Just south of Morocco if my memory serves me well.
As for formats of adresses, phone numbers, car licence numbers and so on, it is a common mistake to assume that your own country is the norm.
Adresses are written very differently.
Phone numbers are completely different, some countries does not have area codes or fixed length numbers, in some countries the question of alphanumeric phone numbers is currently discussed.
Car plates have different formats, vanity plates may or may not be allowed, they may or may not be unique (all cars belonging to certain people may have the same number) and in some countries even the colour of the plate is part of the number (white=private vihicle, green=taxi, red=government, black=military and so on and there may be number overlaps between the colours).
I've had to kick enormous amounts of butt at work (too often without success) to get people to understand that they have to look beyond their own adress, their own phone number, their own license plate to understand how it should be described.
Admin
Looks like they have changed their validation.. (which is still a WTF)
Admin
x < 2 would be one character, not two, Which would seem fairly reasonable to me - Unless of course a culture exists where it is possible to have no first name at all....
Admin
Alex put that in so that the first post on a page would always be longer than the advert next to it... It's stops people thinking there is only one post on the page, but they scroll down to see what follows [:)]
Drak
Admin
The read WTF here is of course the bad quality of the screenshot... Damn, have you neverheard of PNG?
Admin
So, what's the corresponding long name for "Anna" then? :-P
Admin
That would be Annabel (well at least here in The Netherlands).
Admin
I recall a similar conversation with a customer some years ago. The customer was a programmer with a long history in the business, used to working with minis and mainframes. He reported a problem that I couldn't think of an answer to, and I mentioned to him that I was sure it was a problem I'd seen, and that if I was sitting next to his screen, the penny might have dropped. "Shall I take a dump and send it to you?" was his next offer. I considered this a little harsh as I was doing my best to help.
Admin
IMO nothing wrong about it (if the "small entry" check was sane). If a user can make two different kinds of mistakes, there should be an appropriate error message for each kind of mistake, even if one mistake can be handled as special case of the other in the program.
To a common person, "too small" is not the same thing as "not given". Error messages - like any other kind of user interface - shall be made for the common user, not for someone who thinks like a programmer.
Admin
Their admin software works pretty well. I just clicked "DISABLE" on the administrator account to see what it did... it locked me out. That's cool, I guess (for a demo site).
Admin
When working with a company in my past that had an AS/400, we noticed a column name in one of their tables that was for some sort of unit of shipping named "FVCUNT." I'm not sure what the FVC stood for, but UNT stood for "unit." [B]
I guess when you're limited to 8 characters in the field name and the names must be unique across all tables (according to one of the AS/400 programmers, I'm not sure if that's accurate), you have to be creative. ;)
Mike
Admin
Carl?
Guy?
Lois?
I don't think this rule even works assuming all names are short for "full names"
Admin
>> Their admin software works pretty well. I just clicked "DISABLE" on the administrator account to see what it did... it locked me out. That's cool, I guess (for a demo site).
Yes, looks like the database is cleaned up every couple of hours. seems to me that they are giving a full demo ( not disabling any features ) to the public & restore the db to a clean state every couple of hours. The software has ton of features for $295.00 compared all the crappy e-commerce software out there ... WTF with http://www.storefront.net .. eShop ( http://www.aivea.com/eshopinfo.htm ) is far far better that this http://www.storefront.net WTF.. i'm going to recommend eShop to some of my clients ...
[Y]
Admin
Notice that you'd also better not have a hyphenated last name (or spaces!), and you'll also want to avoid having names like "O'Connor".
var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzƒŠŒŽšœžŸÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ";
var checkStr = theForm.LastName.value;
var allValid = true;
var validGroups = true;
for (i = 0; i < checkStr.length; i++)
{
ch = checkStr.charAt(i);
for (j = 0; j < checkOK.length; j++)
if (ch == checkOK.charAt(j))
break;
if (j == checkOK.length)
{
allValid = false;
break;
}
}
if (!allValid)
{
alert("Please enter only letter characters in the \"Last Name\" field.");
theForm.LastName.focus();
return (false);
}
Admin
Carl = Carlos
Guy = SonicBoom or RazorKick
Lois = SuperLameGirlfriend
Admin
My first name is Csaba. Whew, that was close... :D
Admin
Speaking of stupid name checks, my wife tried to book a driving theory test online today. When we married she adopted a hyphenated surname. However, the web form won't accept a hyphen in the surname field!
Admin
I know someone with no first name.
Admin
When we married she adopted a hyphenated surname
Looks like the stupid name check worked correctly...
Admin
Actually, it is not clear that it is a sovereign country. It is partly annexed by Morocco, see http://www.cia.gov/cia/publications/factbook/geos/wi.html for more information.
Admin
There are such cultures, and it is not only webforms that have trouble handlign those people. Most (goverment) forms also assume that you have at least two names. A common "solution" is to double the single name so that it is used both as first and last name
Admin
As do I, as it happens. A person known simply yet officially only as Teddy.
Thank goodness that's not a letter less.
Admin
/// <summary>
/// Retrieves long version of Anna's name.
/// </summary>
public string LongName
{
get { return this._longNameGenerator.Generate(); }
}
Admin
Admin
Even better than that, some countries have no postal codes (Ireland, for example.) Forcing "correct" address formats can be risky - it might make your shipping system easier, but it can make the address wrong. In many continential European countries, for instance, the house number goes after the road name and the postal code goes before the city/town. And then there are the addresses which are just plain odd - I know of an entire hamlet that has no house numbers and no road names...
Admin
Umm.. read that more carefully... if you have one character, they return an error message. That's an assumption that your first name has at least two characters.
Admin
nope ... I don't see any issues at www.aivea.com or any of the contact pages. they seem to be a Microsoft.NET dev. firm...couple of E-Com/Biz products & services!
Admin
I had a classmate whose surname was U. Just the letter U. (Cambodian, I think). The temptation to call him "hey, you" was overbearing. He couldn't get a credit card with only one letter in his surname so he used "UU".
If your friend married my friend his name would be U U.
Admin
Maybe you need to talk to Primate Programming Inc
Admin
Is this company for real? [:|]
Admin
Nevermind... lol
Admin
Don't forget the many thousands with the name Hans, just like me. ;)
Pure discrimination.
Admin
he he ... 'dump'
I used to work for a company whose COBOL based system (coded in the US) used four to six letter acronyms for shortcutting to functionality in the system. There were two letters for the 'top level' of the system (i.e. SA for store accounting, PR for payroll etc.) and then 2 to 4 letters for the command, so you would get commands like SADD or PRPP.
Anyway, one upgrade it eventually happened ... Accounts Receivable Store Entry ..... oh how we laughed.
(that might not have been the exact command description but the acronym is correct ... you get the idea) :D
Admin
Did he become General Secretary of the United Nations?
Admin
You wouldn't believe how often my last name is rejected by software. Take for example "St. Marie", the software says... no periods, alright, I can live with "St Marie" -- but oh wait, no spaces... what am I left with?
Admin
Good thing they fixed, otherwise Jet Li would have some problems with it...