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.
ShowCode/HideCode
Following we are having a field named Mobile number. On submission it must fulfill both the described constraints.
Mobile No. | |
ShowCode/HideCode