Live data from Hacker News

Dear American Website Owner

jan.rychter.com

1–10 of 149 posts

Re: Dear American Website Owner

#2
It used to annoy me too. When I saw those forms, I usually assumed a website owner didn't want to talk to me anyway. But then I realized that's okay. US generally don't care for the rest of the world and I believe they have the right and the privilege to do so. So it's either I move to US or stop complaining. And US companies that, say, want my money - they usually have the right kind of forms already.

Re: Dear American Website Owner

#5
post #2

It used to annoy me too. When I saw those forms, I usually assumed a website owner didn't want to talk to me anyway. But then I realized that's okay. US generally don't care for the rest of the world and I believe they have the right and the privilege to do so. So it's either I move to US or stop complaining. And US companies that, say, want my money - they usually have the right kind of forms already.

I disagree there's there's nothing wrong with wanting to raise web standards. More people should complain, we'd have a better web. Some sites still don't have encryption when entering credit card numbers.

Re: Dear American Website Owner

#7
post #5
post #2

It used to annoy me too. When I saw those forms, I usually assumed a website owner didn't want to talk to me anyway. But then I realized that's okay. US generally don't care for the rest of the world and I believe they have the right and the privilege to do so. So it's either I move to US or stop complaining. And US companies that, say, want my money - they usually have the right kind of forms already.

I disagree there's there's nothing wrong with wanting to raise web standards. More people should complain, we'd have a better web. Some sites still don't have encryption when entering credit card numbers.

Sure, but the design of a web form is hardly a standard.

Re: Dear American Website Owner

#8
post #3

I wish author was a little more constructive here. What phone number pattern would he recommend we use?

Probably the best approach is not using any pattern at all. The less you force your users into something that will not work most of the times, the best. I always struggle to input information even in forms designed specifically for my country.

Just let people enter numbers with all the spaces and the dashes the wish. After all, if a human will ever need a phone number, he will be able to read it in any form. If these characters are a problem for you to store, simply strip them. The routine to do this takes the same effort to write as the one to check the input.

Re: Dear American Website Owner

#10
post #3

I wish author was a little more constructive here. What phone number pattern would he recommend we use?

Good question. Unless there's some table valid phone number patterns corresponding to various regions, the best you can do might be to check for dashes, digits, dots, and parenthesis. Maybe also check that it doesn't exceed some arbitrary but generous length, too. (Ugly, I know.)
Post reply on HN