When collecting first and last name from users, should the name be formatted if it will be shown to the user again?
Example: BILL is formatted to Bill
It seem almost impossible to account for all the variations on names.
Answer
Good question...
I don't think you ever will be able to get it right, so it's better leave this responsibility to the user.
You can trim spaces, of course, but you shouldn't mess with the case.
The only foolproof formatting you could do, is to make everything uppercase. This might be handy for internal use, but not as a correction of the user's entry.
Country names, states, citys and so on can be formatted, though...
No comments:
Post a Comment