Form phone number error

User 2310429 Photo


Registered User
8 posts

Hi,

My form is not working. It keeps throwing an error that the phone number is not in a valid format, even though I do enter a validly formatted phone number. Below is the error it throws.

By the way, it's doing this in IE, Safari, Firefox, and Chrome on my Mac with OSX Lion and PC with Windows 7

Lori

Your form could not be submitted for the following reason(s):
"Phone Number" isn't recognized as a valid telephone number format.

http://apldca.org/sponsors2013/new_sponsor_app.html
User 1744013 Photo


Registered User
89 posts

For some unfathomable reason the format selections do not conform to the norm. If you select US format which is commonly 555-555-5555 you will get an error. Try 5555555555 without the hyphens and it will most likely work. As a more pleasing fix, use the international setting for the phone number, This will let the client use the common format 555-555-5555. Hope it helps.
James Rook
User 103173 Photo


VP of Software Development
0 posts

Hazy wrote:
For some unfathomable reason the format selections do not conform to the norm. If you select US format which is commonly 555-555-5555 you will get an error. Try 5555555555 without the hyphens and it will most likely work. As a more pleasing fix, use the international setting for the phone number, This will let the client use the common format 555-555-5555. Hope it helps.

Dashes cannot be used in the Phone Number Element. This is because on all mobile devices, there is no dash on the dial pad keyboard. If you want to allow dashes, you the Regular Expression or Text Field Element instead.
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 38401 Photo


Senior Advisor
10,951 posts

Scott Swedorski wrote:
Hazy wrote:
For some unfathomable reason the format selections do not conform to the norm. If you select US format which is commonly 555-555-5555 you will get an error. Try 5555555555 without the hyphens and it will most likely work. As a more pleasing fix, use the international setting for the phone number, This will let the client use the common format 555-555-5555. Hope it helps.

Dashes cannot be used in the Phone Number Element. This is because on all mobile devices, there is no dash on the dial pad keyboard. If you want to allow dashes, you the Regular Expression or Text Field Element instead.


How old is your phone Scott? Mine sin' the newest version of my phone style but I have 3 different special char. Keyboards to choose from and it definitely has a dash as well as my iPad does also. Am I not understanding you on this?
User 103173 Photo


VP of Software Development
0 posts

The iPad is not a phone. Its a tablet. ;)

iPhone:
https://www.google.com/search?q=iphone+ … p;bih=1191

Nexus:
https://www.google.com/search?q=nexus+d … p;bih=1191

Also the most import factor is that character is not allowed in the HTML5 specifications.
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 2147626 Photo


Ambassador
2,958 posts

My phone is an LG, less than 1 yr old... no dash :(
Graphics for the web, email, blogs and more!
-------------------------------------
https://sadduck.com
User 38401 Photo


Senior Advisor
10,951 posts

Scott Swedorski wrote:

Also the most import factor is that character is not allowed in the HTML5 specifications.


That there would be the right reason then wouldn't it.. :P

My Samsung Galaxy S 4G has a dash in it, and you didn't specify phones, you said mobile devices :P
User 413036 Photo


Registered User
19 posts

MORE IPHONE PHONE NUMBER ENTRY PROBLEMS
I have a special web page for smartphones showing an employment application. The entire page is no more than 320 pixels wide.

I have use the US Phone number format for phone number entry fields.

However, when I enter 6015551212 (a valid number) into the first phone number field using my iPhone, it throws an error message "Please specify a valid phone number." (I haven't tried subsequent fields.)

I thought about trying to enter dashes, but numbers are all that's allowed. Then I read above we don't need dashes anyway.

You can see the form at OilChangeMS.com/jobsmobi

Thanks for any help you can offer.
User 2147626 Photo


Ambassador
2,958 posts

I entered the same phone number you have above, and the form took it. In the first part of the form. Not in the references section. Is that where you had trouble? It took that number with the dashes. I think you just need to go back through the form fields for the phone numbers and make sure ALL of them are set to the international setting and you should be okay.
Graphics for the web, email, blogs and more!
-------------------------------------
https://sadduck.com
User 413036 Photo


Registered User
19 posts

Thanks. I'll try that - but I can't until next week. A totally slammed schedule! I'll come back after trying it and let you know how it went.

David

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.