How to create nested multiple choice in Jotform?

  • Erick_Valentin
    Asked on April 8, 2024 at 6:51 PM
    1. Can we replicate in jotform the behavior of the "or" type of questions in the multi-choice option in this web based form:
    2. Can we replicate the nested multi-choice box as well?

    https://cfpb.github.io/sbl-sample-form/

  • Aries JotForm Support
    Replied on April 8, 2024 at 10:52 PM

    Hi Erick,

    Thank you for reaching out to Jotform Support. I’ll need a bit of time to look into this. I’ll get back to you as soon as I can.

  • Erick
    Replied on April 9, 2024 at 1:33 PM

    OK, hope you can find something useful!

  • Aries JotForm Support
    Replied on April 9, 2024 at 3:23 PM

    Hi Erick,

    Thanks for your patience. After carefully checking for a possible option to do it,. Unfortunately, we do not have the option to nest multiple or single choice fields into one single field. While the feature you’re looking for isn’t currently available, rest assured we’re always working to add new services and features to Jotform. I've gone ahead and escalated your request to our Developers. When or if it's implemented depends on their workload, how viable it is, and how many other users request it. If there are any updates, we’ll circle back to this thread and let you know. 

    In the meantime, I can suggest a workaround that might work for you. You can check out our guides on How to Configure the Dynamic Dropdown Widget.

    Let us know if there’s anything else we can help you with. 


  • Aries JotForm Support
    Replied on April 11, 2024 at 1:50 AM

    Hi Erick,

    I'd like to share with you a workaround regarding your concern that might work for you. It is possible to replicate it with conditional logic and a form calculation widget. However, this workaround will use three multiple-choice fields instead of just one field. Let me show you how with my demo form:

    1. In form builder, go to form elements and add three multiple choice fields.

    How to create nested multiple choice in Jotform? Image 1 Screenshot 60

    2. Then add Form Calculation widget.

    3 . And hide the form calculation widget. Click on gear icon and go to advance, then click on hide field.

    How to create nested multiple choice in Jotform? Image 2 Screenshot 71

    Now, set the conditional logic to those fields.

    • In form builder, click on Settings.
    • Then click on Conditions on the left side panel.
    • And click on Add Condition and select the Update Calculate Field.

    How to create nested multiple choice in Jotform? Image 3 Screenshot 82

    Here are the conditions that were set up on those fields.

    How to create nested multiple choice in Jotform? Image 4 Screenshot 93

    Here's the final result:

    How to create nested multiple choice in Jotform? Image 5 Screenshot 104

    You can check out my demo form for your reference, and you can also clone it. Here's a guide on how you clone a form from URL.

    Give it a try and reach out again if you have any other questions.

  • Erick
    Replied on April 11, 2024 at 7:06 AM

    Excellent Aries!, I'll check and back to you with my feedback, but think that could work, the only drawback that I can see now is that data structure will growth with more unused fields but I can figure out how to handle. Thanks a lot!


  • OCS_AlertaPlus
    Replied on April 16, 2024 at 10:00 PM

    Hello Aries, after reviewing your solution, it works for the purpose needed.

    I'm trying to replicate the same solution (update/calculate fields) to solve the last part of the form, the "Principal Owner" section (when you select 1 or more Principal Owner). Question, how can I configure the update/calculate fields condition logic to replicate the required behavior?

    Form to replicate: https://cfpb.github.io/sbl-sample-form/


    Regards,

  • Sonnyfer JotForm Support
    Replied on April 17, 2024 at 3:31 AM

    Hi Erick,

    We're glad that the workaround provided suits your purpose. I moved your new question to a separate thread to avoid confusion. You can check that out here.

 
Your Answer