How can I create a question with answer options in nested checkboxes?

  • Profile Image
    Mike_T
    Answered on January 16, 2014 at 03:41 PM

    Thank you for contacting us.

    Unfortunately, we do not have any nested Check Boxes on the system. As an alternative, you might consider using separate Check Box fields for your categories. Also, in such case you can use a Spread Columns option:

    Please see the following form:

    http://form.jotformpro.com/form/40155489926969

    Please feel free to contact us if you need any further assistance.

  • Profile Image
    abajan
    Answered on January 16, 2014 at 04:58 PM

    @ctamyna

    My colleague's approach seems to be the best workaround for this but just out of curiosity, were you thinking of something like that demonstrated here? In each case, selecting the parent selects all of its descendants and conversely, deselecting it deselects all of them.

    You may have noticed that selecting only some of the descendants puts all of its ancestors in a third state (indeterminate). Checkboxes can only return one of two values (checked or unchecked) and one in an indeterminate state is read as un-checked. It just provides visual feedback to the user. Here's more about indeterminate checkboxes.

    If you wish your form to behave like that we might be able to provide a workaround but I'm not making any promises. What I can state is that it would definitely require the use of a script and as such, the form's full source would have to be embedded into a web page along with the script.

    You can always let us know if you want to take that route.


    Thanks

  • Profile Image
    ctamyna
    Answered on January 16, 2014 at 05:04 PM

    I see...

    Thanks a lot Mike_T and abajan for the tips! 

    The first one seems easy enough.

    The second one, I'm not very familiar with scripting. But I'll ask if one of my colleagues can help out with that part.

    I'll update you soon. 

     

    Thanks again!