Would someone please provide guidance on USA telephone number input and validation??
Presently I have:
<p><label accesskey="p" for="phone">Phone:</label>
<input type="text" name="phone" size="50" maxlength="60" eform="Phone:phone:0" /></p>
I need the phone number to be optional and validated for ###-###-#### which I know I can do with the REGEX switch with enough trial/error.
To figure out what REGEX to use, I need to know how the regex is evaluated -- by PHP, by JavaScript, what?? -- since the regex would be different for each...
Thank you, Tom
nice but on first glance it looks like a javascript regex for the phone number...
I have found several phone number regexes that work with PHP...
Thank you...