Phone number with more than 12 characters

Hi Guys,

I would like to use the number validation for phone numbers.
However the generic validation allows only up to 12 characters.
Here in Austria we have mobile numbers which have more characters.

How can I change this?

Thank you.
Nice greetings from Vienna,
Christian

Hi @christian! There’s a “loophole” that you can use to enable your visitors to enter any amount of numbers they want. When you’re editing your form, you can deselect the Validate phone number as checkbox. That way there will be no limit to how many characters visitors can enter.

However, if you want to make sure that the numbers entered into this field are still validated, you can do that using some custom Javascript. I think this post below should help you out for that, if you’re comfortable with a bit of code.

Hope this helps, let me know if you’ve any questions!

-Jess

Hi Jess,
thanks for the tip!
But is there a way to limit the generic validation to a different number of max characters? (ie 15 characters)

Thank you,
Christian

Hi Christian, unfortunately without custom code, the built-in validation won’t allow for more than 12 characters.

I’ll dig around to see if there’s a custom workaround for a 15 character limit.

Hi Jess,
Thanks for your help.

Christian