3 ms·
As a Canadian, where postal costs have a space in the middle, I love how forms will reject them because I included the space, or failed to include it. With all
by Scoundreller 11y ago
As a Canadian, where postal costs have a space in the middle, I love how forms will reject them because I included the space, or failed to include it.
With all the code they wrote to generate that pop-up, you'd think they could massage my input into the format they wanted in the first place...
- markdown 11y agoDo you mean postal (aka zip) codes? There any many countries without postal codes at all, and we have to enter fake numbers to validate forms. https://gist.github.com/kennwilson/3902548 https://gist.github.com/kennwilson/3902548
- jordigh 11y ago> postal (aka zip) codes Post codes aren't quite the same thing as Zone Improvement Plan codes. ZIP codes are just the peculiar implementation in the US of the general post code concept. An important difference between ZIP codes and Canadian post codes is that, since there are many more possible post codes than ZIP codes, post codes tend to cover much smaller regions than ZIP codes. In many cases, only a handful of individuals up to a single individual may have a Canadian post code. Thus, publishing Canadian users' post codes can severely harm Canadians' privacy, as you may as well be publishing their exact address.
- greenyoda 11y ago9-digit ZIP codes in the U.S. can also cover very small areas. For example, a large building could have its own 9-digit ZIP code.
- greenyoda 11y agoSimilarly with credit card numbers: most credit cards have spaces between groups of digits in the account number (as it appears on the card), but many web forms will reject the number if it has spaces in it. (I find it much easier to verify that the number I typed into the form is correct if it looks like the number on my card.) Or web forms will reject a phone number if it has non-numeric characters like "-", which many people would probably think of as an integral part of their number.