Example:

I will display the item first 1,2,11 - The other rows are hidden.

if A1 = 2 show rows 1,2,3,7 - if ((A1==2) hide [4,5,6,7,8,9,10,11...19], show [1,2,3,7]

if A1 = 3 show rows 1,2,3,4,5,6

if A1 = 11 show rows 1,11,12,16

etc.

1- type of vehicle

2 - car

3 - petrol

4 - male

5 - medium

6 - large

7 - diesel

8 - male

9 - medium

10 - large

11 - motorcycle

12 - petrol

13 - male

14 - medium

15 - large

16 - electric

17 - male

18 - medium

19 - large

<script type="text/javascript"> $(document).ready(function(){ $('#[% QuestionName() %]_div .response_row:nth-child(1)').show(); $('#[% QuestionName() %]_div .response_row:nth-child(2)').show(); $('#[% QuestionName() %]_div .response_row:nth-child(3)').hide(); $('#[% QuestionName() %]_div .response_row:nth-child(4)').hide(); $('#[% QuestionName() %]_div .response_row:nth-child(5)').hide(); $('#[% QuestionName() %]_div .response_row:nth-child(6)').hide(); $('#[% QuestionName() %]_div .response_row:nth-child(7)').hide(); $('#[% QuestionName() %]_div .response_row:nth-child(8)').hide(); $('#[% QuestionName() %]_div .response_row:nth-child(9)').hide(); $('#[% QuestionName() %]_div .response_row:nth-child(10)').hide(); $('#[% QuestionName() %]_div .response_row:nth-child(11)').show(); <--etc (19)--> }) function SSI_CustomGraphicalRadiobox(GraphicalRadioboxObj, InputObj) {var choice=SSI_GetValue([% QuestionName() %]); if ((choice==2) { $(document).ready(function(){ $('#[% QuestionName() %]_div .response_row:nth-child(1)').show(); $('#[% QuestionName() %]_div .response_row:nth-child(2)').show(); $('#[% QuestionName() %]_div .response_row:nth-child(3)').show(); $('#[% QuestionName() %]_div .response_row:nth-child(4)').hide(); $('#[% QuestionName() %]_div .response_row:nth-child(5)').hide(); $('#[% QuestionName() %]_div .response_row:nth-child(6)').hide(); $('#[% QuestionName() %]_div .response_row:nth-child(7)').show(); $('#[% QuestionName() %]_div .response_row:nth-child(8)').hide(); $('#[% QuestionName() %]_div .response_row:nth-child(9)').hide(); $('#[% QuestionName() %]_div .response_row:nth-child(10)').hide(); $('#[% QuestionName() %]_div .response_row:nth-child(11)').hide(); <--etc (19)--> }) } else if ((choice==3) { $(document).ready(function(){ $('#[% QuestionName() %]_div .response_row:nth-child(1)').show(); <--etc (19)--> }) } } </script>

https://sawtoothsoftware.com/resources/question-library/drilldown-dropdowns