Trying to add a phone number field to a simple contact form. I have the box for required checked and the box for validate checked. If I leave the filed blank, it does validate that it is required. But the field does do any validation that it is 10 digits. I can enter a single digit and it does not stop it. I realize that the number itself cannot be validated but I assumed that it would be validated to be 10 digits. What do I have missing to do a valid that the phone number a user enters is a 10 digit phone number?
There are 2 check boxes for phone validation. 1 says "Phone" the other says "International Phone". Am I wrong to assume that "Phone" only checks for a 10 digit domestic phone number? Either way, I can input just the number 1 and it apparently passes validation and sends the form. It does not stop and I get an email with 1 for the phone number
So the phone validation is only validating the characters used, not validating that anything is in a correct phone number length/format?
Hui munkey,
You are indeed wrong to assume that there is any difference between the two phone validations. I have no idea why :-( You'd need to ask the FormCheck developers.
These validations work as I described, they are checking characters, not length (whatever the 'correct' length may be - in the UK it is mostly 11 digits).
Bob