Question

Define phone number character limit

  • 23 May 2022
  • 1 reply
  • 42 views

Badge

Hello there,

In the Unbounce form structure, there is only the customization feature for the phone number for generic, north american, United Kingdom, Austrilian. How can I get the phone number to enter a minimum of 10 digits with a special code here? When I try the code below, it accepts below 10 characters, and when I type min instead of max, it does not issue a warning. How should I add a code for the minimum and maximum 10 numbers that need to be entered? Does anyone know? It would be great if I could even add the +90 country code.

<script>
    document.getElementById("example").maxLength = "10";
</script>


1 reply

Badge

Hey @Ceren Ceylan 


Taryn from Unbounce support here! Thanks for your question 😁

 

It looks like this community thread might have a solution and script that would be useful for you: 

 

Hopefully this helps you out!

 

Cheers,

Taryn

Reply