Can someone help me to validate a Phone number field.
I want to check the input for a validation of length 10. I really don't know how i can arrange that.
thanks in advance.
Please take look at this thread:
There it is explained how to set up text field validation using Regex. You can validate anything that way.
The regex expression (rule) which you might want to use ("at least 10 numbers"), is the following. It tells the validator that the field should be contained only from numbers, and should be at least 10 and maximum 15 digits long:
If you want to use international phone numbers in the format such a +49 123 456 - 789, you can use the following regex expression:
If you need a country specific formatting, you can easily google it, such the regex expressions can be easily found on the net.
Retrieving data ...