Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 7
    +1 for "users just wanted to convey you an important piece of information". I've too often seen unnecessary validation that simply annoys the user without any actual technical (or organizatorical) requirements. Commented May 9, 2011 at 7:06
  • 6
    +1 - phone number validation (especially defined this broadly) is often pointless, not future-proof (KL5-6743 used to be a valid phone number, for example), and just annoys users who have special cases. Make you phone numbers a big text field and let the automated dialers (if there are any in this scenario) parse what they can. The exceptions can be raised to humans who can handle the situation appropriately. Commented May 9, 2011 at 7:22
  • 8
    +1 and most importantly just because a phone number is valid, it doesn't mean it exists, and even if it exists, it doesn't mean it belongs to the person in question... Commented May 9, 2011 at 12:23
  • Oh yeah, i will figure out the countries where our major users live and then i will write some validation code. Thanks All, i appriciate your efforts. Commented May 10, 2011 at 5:50
  • 7
    @Ranger That is the exact opposite of what the answer was getting at. Commented Dec 14, 2017 at 10:12