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 two dropdown fields via code

    Asked by sergioc13 on May 16, 2017 at 02:24 PM

    como enlazar dos campos desplegables a través de codigo

  • Profile Image
    JotForm Support

    Answered by Jim_R on May 16, 2017 at 03:14 PM

    Your post translated to How to link two drop-down fields via code - Can you be more specific on what you're trying to do?

    In theory, you wouldn't need any codes to link 2 Dropdown Fields if all you need is to sort of link them in a way that one would be updated like the other. For this, you may use Conditions.

    Related guide: Smart-Forms-Using-Conditional-Logic

    On the other hand, if what you meant are nested Dropdown Fields then perhaps the Dynamic Dropdown Widget will fit your needs.

    Related guide: How-to-Add-a-Widget-to-your-Form

    In case we misunderstood your question, just get back to us with a bit more info and a clearer description of what you're trying to do so we can better assist you.