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 populate an address field with data from dropdown field?

    Asked by jalbers on June 09, 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

    Page URL:
    https://form.jotform.com/61608409550152

    different selected work a
  • Profile Image
    JotForm Support

    Answered by Chriistian on June 10, 2016 at 01: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.

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

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

    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.