954,561 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

10 Digits Phone no, E Mail Validation and 6 Digit Pincode

I need Javascript validations of :
1. 10 Digits cell number does not start with 0
2. Valid E Mail Address and
3. 6 Digits Pincode

jacob21
Posting Whiz in Training
226 posts since Feb 2011
Reputation Points: 10
Solved Threads: 1
 
itpragan
Newbie Poster
4 posts since Dec 2009
Reputation Points: 10
Solved Threads: 0
 

As one of the posters in itpragan's link says, it's better to use regular expressions for these types of test.

The "charAt" approach is bulky and not as capable.

Airshow

Airshow
WiFi Lounge Lizard
Moderator
2,682 posts since Apr 2009
Reputation Points: 321
Solved Threads: 372
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You