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

    How to autopopulate city and state upon entering a zip code ?

    Asked by crosspoint1 on November 04, 2014 at 05:01 PM

    (2) Is there a way to access the address subfields provided by the Quicktools Address widget?  In another example, I would like the user to be able to enter a zip code and have the city and state auto-populate.  There is a city lookup widget, but I'm unable to use the output of that widget to populate a field in my form because I'm unable to grab that output and unable to specify the city field.

    I understand that one solution is to create separate Text Box fields for each address subfield.  Doing this makes the form look rather inelegant.  Is there a more efficient solution?

  • Profile Image
    JotForm Support Manager

    Answered by Jeanette on November 04, 2014 at 07:00 PM

    Your example could bee sorted out, using the autocomplete address, you just type the zipcode in the delivery address field, and it should autopopulate the city and state.


    Maybe, using that widget in conjunction with the autocomplete widget, could sort things out


    Autocomplete fields can save names and you can add the zip code next to names. However, the automated autopopulation might involve using the source code of the form and connecting it to a database, then creating a query to call the address based on the customer. All this will require hiring a programmer to have a fully functional solution for you.