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*
- 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.perdian– perdian2011-05-09 07:06:06 +00:00Commented 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.E.Z. Hart– E.Z. Hart2011-05-09 07:22:36 +00:00Commented 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...Benjol– Benjol2011-05-09 12:23:12 +00:00Commented 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.Ranger– Ranger2011-05-10 05:50:13 +00:00Commented May 10, 2011 at 5:50
- 7@Ranger That is the exact opposite of what the answer was getting at.Sebastian Redl– Sebastian Redl2017-12-14 10:12:10 +00:00Commented Dec 14, 2017 at 10:12
Add a comment |
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. design-patterns), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you
lang-js