How to populate an address field with data from dropdown field?

  • jalbers
    Asked on June 9, 2016 at 10:56 PM

    I'd like my form to have a dropdown box that lists cities.  Based on the city selected, it would autofill the address into the "Address" field.  I've tried setting this condition up but it isn't working. It looks like it should work, but notta.  Help?

     

    ie;   Washington DC selected from dropdown menu of 10 different cities.

     

    Address:     1600 Pennsylvania Avenue

                         Washington, DC 20001

  • Chriistian Jotform Support
    Replied on June 10, 2016 at 1:26 AM

    Unfortunately it is not possible to pass the data from a dropdown field into an address field. You can only populate an address field with the data from another address field.

    If you want to populate an address field from a dropdown field, you will need to create a custom address field using textboxes. Please follow the guide below:

    1. Add the necessary textbox fields.

    How to populate an address field with data from dropdown field? Image 1 Screenshot 40

    2. Then use the Update/Calculate condition to populate the city field when a city from the dropdown field is selected.

    How to populate an address field with data from dropdown field? Image 2 Screenshot 51

    Once set, the city field should now update based on the city selected.

    How to populate an address field with data from dropdown field? Image 3 Screenshot 62

    Here's a cloned version of your form so you can see it in action: https://form.jotform.com/61611178192959.

    If you need further assistance, please let us know.