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

    Pre-Populate City and State

    Asked by smarch678 on May 09, 2017 at 12:45 PM

    I am looking for a way to have a field where someone begins typing in a city (in the US) and the form prepopulates the options available including the state that city resides.  

  • Profile Image
    JotForm Support

    Answered by BDAVID on May 09, 2017 at 02:12 PM

    There are some widgets you may try, such as the All States and Cities widget: https://widgets.jotform.com/widget/all_states_and_cities 

    Or the Autocompleted Address widget: https://widgets.jotform.com/widget/autocompleted_address 

    Here is how to add the widget your form: https://www.jotform.com/help/252-How-to-Add-a-Widget-to-your-Form 

    Let us know if you need more help, we will be glad to assist you.

  • Profile Image

    Answered by smarch678 on May 09, 2017 at 04:43 PM
    Thanks!
    Is there any way to set the default country to United States and only have
    state/city show up? I don't want my leads to have to choose a country.
    Thanks!
    ...
  • Profile Image
    JotForm Support

    Answered by BDAVID on May 09, 2017 at 05:59 PM

    Yes, simply type the country you want to show, example:

    Let us know if you need more help.

  • Profile Image

    Answered by smarch678 on May 09, 2017 at 06:43 PM
    I get that, but the country field is still visible to the lead. Basically,
    I want a city and state field without country field.
    ...
  • Profile Image
    JotForm Support

    Answered by BDAVID on May 09, 2017 at 08:16 PM

    Unfortunately, it needs to show up for the user to select the cities.