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

    Dynamic Dropdowns

    Asked by barberalaw2 on October 20, 2016 at 01:49 PM

    Hello,

    For dropdowns, is there a way to create options based on prior answers?

     

    So for example:

    Question 1 (in form of a textbox): Who is in your team? User will fill in [Name 1], [Name 2], [Name 3]

    Question 2 (in form of a dropdown): Who will be team captain? The options will display as [Name 1][Name 2][Name 3], which are derived from what the user filled in for Question 1.

     

    If not, is there a way to do this? (Maybe not in the form of a dropdown but a radio/check button, or something similar)

     

    Thank you

    dropdowns name textbox check create
  • Profile Image

    Answered by Irshad on October 20, 2016 at 04:31 PM

    Yes, it is possible. I would suggest you to use Dynamic Dropdown widget, please check that on below URL:

    https://widgets.jotform.com/widget/dynamic_dropdowns.

    You can also check the demo form of dynamic dropdown here: http://form.jotformpro.com/form/43514646570961

    So please try it, and and if you have any query, or need further assistance, feel free to revert back.

    Thank you!

     

  • Profile Image

    Answered by barberalaw2 on October 20, 2016 at 04:39 PM

    Thank you for your response.

    Hm I don't think this is quite what I'm looking for.

    I want to be able to populate my dropdown fields based on an answer that a user gives me in a prior question, and not have to write the options down when creating the survey.

    For the dynamic dropdown widget, I need to fill in each dropdown option right now. However, I do not know these options because the user has to give me this information in a prior answer. Is there a way to make it so that the options are based on the user's answer for a prior question?

  • Profile Image
    JotForm Support

    Answered by Jim_R on October 20, 2016 at 10:29 PM

    I'm afraid you can't populate the "options" on the dropdown field based on user input from a previous field. However, I'm currently looking for a way if this is possible. Regardless if I have good or bad news, I'll update this thread as soon as I'm done with my tests. I'll be with you shortly.

  • Profile Image
    JotForm Support

    Answered by Jim_R on October 20, 2016 at 11:17 PM

    Sorry but I wasn't able to find a workaround that will fit your requirement.

    e.g.

    - 3 textboxes asking for names of members of the team

    - Then a dropdown menu that will be populated based on the names entered on those 3 textboxes

    The only feasible way around this is to get your form's Full Source code to programmatically fetch the input data from the textboxes and then populate it to your dropdown menu's options using Javascript. Sadly, you may need to hire a developer for this (if you don't have one), or have your current developer do this for you.

    Nonetheless, if you have other concerns, just open a new thread so we can further assist you.