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

  • Profile Image
    Asked 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
    Answered 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.