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

  • Profile Image
    viawebtour
    Asked on April 12, 2016 at 05: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

  • Profile Image
    EltonCris
    Answered on April 12, 2016 at 06: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:

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

    Hope this helps!

  • Profile Image
    viawebtour
    Answered on April 12, 2016 at 08: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

  • Profile Image
    viawebtour
    Answered on April 12, 2016 at 09:03 AM

    dynamic dropdowns seems to be a solution

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

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