how to link values in 2 fields (same form)?

  • viawebtour
    Asked on April 12, 2016 at 5:29 AM

    hi, i need to select value in field one (lets say country) and then show only cities for selected country in filed 2. what is the best way to do it? thank you. sincerely, daniel

  • Elton Support Team Lead
    Replied on April 12, 2016 at 6:35 AM

    There are few ways to achieve that but for that specific function, I would recommend using the following widget. 

    http://widgets.jotform.com/widget/all_states_and_cities

    This widget shows all the country on a dropdown field. When you select a country, all its states will appear, then states to cities.

    Example:

    how to link values in 2 fields (same form)? Image 1 Screenshot 20

    This widget http://widgets.jotform.com/widget/autocompleted_address is also a good alternative.

    Hope this helps!

  • viawebtour
    Replied on April 12, 2016 at 8:39 AM

    hi elton,

     

    thank you for your reply. countries/cities was just an example. we have own data to be used. any idea? thank you. daniel

  • viawebtour
    Replied on April 12, 2016 at 9:03 AM

    dynamic dropdowns seems to be a solution

  • victor
    Replied on April 12, 2016 at 10:18 AM

    Thank you for the update. As you indicated, Dynamic Dropdowns widget enable you to create dependent fields. If you select a certain value in the first dropdown, the second will be automatically updated with other values depending on the selection of the first.

    how to link values in 2 fields (same form)? Image 1 Screenshot 20

    If you have any other question or issue, please let us know. We will be glad to assist as best we can.