What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Country phone code to be default/prefilled based on IP

    Asked by secureform on January 04, 2016 at 10:53 AM
    I have a service that caters to multiple countries and want people to leave their number. I see multiple country code widgets for this purpose which is great. However I would like the country phone code to be default/prefilled based on IP. So someone viewing in Germany would see +49 while a Dutch person would see +31
     
    - Is there a widget I can use to set the ‘default country code’ based on IP?
    if not?
     

     

    - Is there a widget I can add code too to set the ‘default country code’ based on IP? (I would have to have the source code correct?) 
    prefilled country code user ip
  • Profile Image
    JotForm Support

    Answered by Mike on January 04, 2016 at 01:26 PM

    Thank you for contacting us.

    Unfortunately, we do not currently have widgets which can prerefill the country phone code based on user location/IP.

    If you would like to use some custom coding solution based on a form source code, you may consider using a standard phone field (Country Code section enabled via field properties).

    Please feel free to contact us if you need any further assistance.

  • Profile Image

    Answered by secureform on January 23, 2016 at 03:54 AM

    I have read the instructions for making a custom widget and upon approval they're available for everyone. If I develop a custom widget that I don't want to have available for everyone is that possible?
  • Profile Image

    Answered by victor on January 23, 2016 at 08:54 AM

    To assist you better I have create a new thread.

    http://www.jotform.com/answers/754134

    We like to keep a thread to a single question. This is to give the best answer possible and not get confused.