Web Form Builder phone and Postal...

User 316991 Photo


Registered User
4 posts

Hello
Just wondering if there is a way for the form to auto add spaces to the phone numbers and postal codes inputs using a regular expression.
If a user enters 5556661234 as a phone number we would like it to auto add spaces 555 666 1234 like so. Makes it easier to read when we get the form results. Same with the postal code A1A 1A1 is easier to read then A1A1A1 (Canada postal codes). We have hints set up but users tend to ignore those.
Wonder if anyone has done this.
Cheers
Terry
User 187934 Photo


Senior Advisor
20,271 posts

Hi Terry,
Like this.
http://progrower.coffeecup.com/forms/phonenumber-zip/
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 316991 Photo


Registered User
4 posts

Hi Eric
BINGO!
Is this difficult to implement?
Cheers,
Terry
User 187934 Photo


Senior Advisor
20,271 posts

I placed the instructions on there for ya. ;)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 316991 Photo


Registered User
4 posts

Thank You Eric!
I'll add it to my form and test today.
Very much appreciated,
Terry

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.