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

    Filter dropdown options according to a previous response?

    Asked by tonyberber on November 04, 2016 at 04:32 PM

    Hi, can I filter the options available in a dropdown according to a response to a previous field? For instance, users are asked to comment on conference papers they attended. Field 2 has a list of all the papers presented at the conference, including the speaker's name and paper title. In field 1, users choose the name of the speaker they want to provide feedback on. As a result, the options available to them in field 2 is narrowed down to just the papers presented by the speaker chosen in field 1; that is, all the papers that were not presented by the chosen speaker are hidden. 

    Is that possible?

    thank you!

    tony

     

    dropdown options a name hidden all and
  • Profile Image
    JotForm Support

    Answered by Jim_R on November 04, 2016 at 09:54 PM

    Hello Tony, sorry but there's no way to conditionally assign options to a Dropdown field based on a previous selection.

    The closest alternative that you can try is to use a the Dynamic Dropdown Widget. Here's a quick demo form https://jotform.com/43514646570961 showing how it works.

    Just keep in mind that you're limited to dropdown itself altogether. The programmed options within the dynamic dropdown widget will only work inside the widget itself. Think of it as nesting conditions for the dropdown options (e.g. IF A is selected, THEN show A1 and A2)

  • Profile Image

    Answered by tonyberber on November 09, 2016 at 02:43 PM

    thank you!

  • Profile Image
    JotForm Support

    Answered by Nik_C on November 09, 2016 at 05:54 PM

    On behalf of my colleague, you're welcome.

    Cheers!