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

    Autopopulate a USA State dropdown field based on IP address

    Asked by ajmartin on June 19, 2017 at 02:49 PM

    Before I build this thought I would ask if there is a widget that can do this?

     

    Detect visitor's region then select that region as the default value on a state drop-down list.

  • Profile Image
    JotForm Support

    Answered by aubreybourke on June 19, 2017 at 03:07 PM

    There is a widget that can detect the region of a country (and several other fields) from the ip address of the user. Its called the "Get Visitior Location" widget:

    https://widgets.jotform.com/widget/get_visitor_location

    So you could use that?

  • Profile Image

    Answered by ajmartin on June 19, 2017 at 03:14 PM

    it would be a start but seems kludgey at best.  Can this be used as a starting point for a new widget? 

    All you really need is the default state list and then Region set as the default value

  • Profile Image
    JotForm Support

    Answered by BDAVID on June 19, 2017 at 05:46 PM

    I have forwarded a request to have such a widget. If this gets implemented, you will be notified via this thread. Just note that there isn't an estimated time-frame for an implementation.