Phone Number Validation - Post ID 200258

User 460351 Photo


Registered User
24 posts

I'm confused. I put a phone number element on a form and selected US Phones. I randomly entered in a bunch of numbers and clicked submit. Nothing happened. It did not validate or error me in any way. It acted like a text field.

Note - this was in preview mode. Does that matter?
User 103173 Photo


VP of Software Development
0 posts

Yes, that matters. ;)

Try publishing your form first and then it will work.
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 2325043 Photo


Registered User
29 posts

I'd like to give my 'form customers' an example of a valid US number in the placeholder area. So where are the validation examples for this field ? Did I just miss them somewhere ?

1-555-555-5555
or
15555555555
or
1(555)555-5555
or
5555555555
or
555-555-5555
or
(555)555-5555
or ... ... ... :/
User 2325043 Photo


Registered User
29 posts

Orlando (customer support) sent me this - for anyone else wondering. :)

"Here are the validation examples that you can use for US phone numbers:

(111) 111-1111
1-222-222-2222
111-111-1111
111.111.1111

These are all hard-coded into the scripts.

For the other options, here are their values:

phoneUK
(02x) AAAA AAAA
(01xx) AAA BBBB
(01xxx) AAAAAA
(01AAA) BBBBB
(01AA AA) BBBBB
(01AA AA) BBBB
0AAA BBB BBBB
0AAA BBB BBB

mobileUK
07AAA BBBBBB

International
<= 15 digits, may have leading + and contain ().- (according to Wikipedia)"

Orlando Perez
CoffeeCup Software Inc.
An Internet 500 Company
http://www.coffeecup.com
User 2325043 Photo


Registered User
29 posts

For US Numbers -

Shouldn't 5555555555 and 15555555555 also be valid.

I know they're very basic - but some folks would enter the number in these ways (probably a large segment of folks).

To avoid inevitable confusion - shouldn't these be included ?
User 103173 Photo


VP of Software Development
0 posts

Josh Thalheimer wrote:
For US Numbers -

Shouldn't 5555555555 and 15555555555 also be valid.

I know they're very basic - but some folks would enter the number in these ways (probably a large segment of folks).

To avoid inevitable confusion - shouldn't these be included ?

That would be an International number then not a US phone number.
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 2325043 Photo


Registered User
29 posts

That would be an International number then not a US phone number.


Hmmm... how so ?

3 digit - then 3 more - then 4 more - or the same with the US International code (1) at the beginning. ((see http://countrycode.org/usa))

These are US formats (without the 1- being the simplified/implied version). Some folks would just type their number like so -

5555555555
or
15555555555

It's not a big deal - just any attempt at streamlining a form or avoiding confusion in a form - is a good thing - and that means serving up fields that lack any opportunity for confusion. :D

User 447635 Photo


Registered User
2 posts

It is now November 1, and I see we have a problem. We really, REALLY, need the ability to add straight numbers without dots, dashes, are other non-numeric items.


Try using the US telephone field in the form with an i-phone or iPod, the keyboard doe not even give me a choice of dots or dashes.

I will have to use a text field instead.
---

Larry Roberts
Larry
User 103173 Photo


VP of Software Development
0 posts

Larry Roberts wrote:
It is now November 1, and I see we have a problem. We really, REALLY, need the ability to add straight numbers without dots, dashes, are other non-numeric items.


Try using the US telephone field in the form with an i-phone or iPod, the keyboard doe not even give me a choice of dots or dashes.

I will have to use a text field instead.
---

Larry Roberts

That is a limitation of the iPhone and not the software Larry. That issue applies with all HTML forms.
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 771954 Photo


Registered User
6 posts

Any character other than just numbers seems to still give an error on both S server and my server.
Please see
http://mdlinglphotos.com/orderform.html
or
http://jcarp1939.coffeecup.com/photoform/
Thank you

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.