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.

ShowCode/HideCode


No comments:

Post a Comment