International Telephone Input For Form

  • 12 February 2018
  • 4 replies
  • 32 views

I would like to ask you a question about how to implement international telephone input into forms. Thankfully unbounce great support team (especially Mariana) gave me an idea about how I can achieve it from git -> https://github.com/jackocnr/intl-tel-input

I embedded it to website and it finds the country from the ip when one opens the page.
http://unbouncepages.com/test-196213549287346181548856/
But I couldn’t find how to add this field to form and inherits css like the other form fields. I also checked almost all topics to find a solution. If I made a mistake, sorry about it. Any help is greatly appreciated.

Thanks in advance.
Utku


4 replies

Userlevel 7
Badge +3

Hi @Loppaz,

You are on the right path but instead of adding an external field like you’ve done, you’ll need to adjust the script to work with one of the native Unbounce fields.

Otherwise, there is no easy way to make the form work.

Hope this points you in the right direction.

Best,
Hristian

Hey Hristian, thank you for fast reply!

Is there any documentation or topic about it?

Thank you in advance.
Utku

I dig somehow and found how to achieve that. Thank you very much for pointing to correct area.

Hi Utku,

I’m trying to implement this feature in my landing pages as well, however without success so far unfortunately.

Would you mind sharing the code you managed to implement?

That’d be very much appreciated.

Looking forward to your reply! Thank you!

Reply