Dynamic Dropdowns

  • barberalaw2
    Asked on October 20, 2016 at 1: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

  • Irshad
    Replied on October 20, 2016 at 4: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!

     

  • barberalaw2
    Replied on October 20, 2016 at 4: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?

  • Support_Management Jotform Support
    Replied 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.

  • Support_Management Jotform Support
    Replied 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.