Tuesday, June 11, 2013

Validate Number Field

Hello friends, here we are going to discuss how to validate Phone number field. In this case we have two constraints, one is the phone number field should not exceed the length of 10 or whatever your requirement is. And the second constraint is this field should contain only numerical value.

Following we are having a field named Mobile number. On submission it must fulfill both the described constraints.

Mobile No.


Monday, June 10, 2013

Email Validation In jQuery

In this article we are going to discuss about email validation. This is one of the most common queries people use to do how to do email validation that is, whether the entered email is correct or not. Any email id entered should adhere to few rules and we will test same.

Following is the logging form named login.html. Try it out.

Email Id