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 link values in 2 fields (same form)?

    Asked by viawebtour 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
    JotForm Support

    Answered by EltonCris 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

    Answered by viawebtour 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

    Answered by viawebtour on April 12, 2016 at 09:03 AM

    dynamic dropdowns seems to be a solution

  • Profile Image

    Answered by victor 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.