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

Recommended Answers

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

Jump to Post

All 2 Replies

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.