I found this thread...
crosstec.de/en/forums/15-usage/12720-pho...mber-validation.html
which lead me to this answer...
crosstec.de/support/index.php?pid=knowle...wentclient&id=11
function ff_telephone_validation(element, message)
{
if(!isNaN(element.value) && element.value.length == 10){
return '';
}
return 'Please enter a valid 10-digit phone number without dashes, periods, or brackets.';
} // ff_telephone_validation
Now this works just fine other than one thing. When the form gives the errors about required fields this one does not add a line break so the next error shows up on the next line like the rest.
Being that I had to look up how to do this, I also don't know how to fix it. I tried adding a break in the code, but that just broke it completely.
I attached a pic to show what I am talking about.