Hi all!
I have been using the
workaround for secundary options in "multiple options" question
, but it is configurated so as to open all the secundary options whenever a primary option is clicked.
That would work fine if only one of the answers would nest several secundary options, like:
Before clicking:
[]Primary 1
[]Primary 2
[]Primary 3
After clicking:
[]Primary 1
[X]Primary 2
....[]Secundary 2.1
....[]Secundary 2.2
[]Primary 3
For me, because every primary has several secundaries, what happens is that even if I click only one primary 1, all the other secundaries open. Like:
[X]Primary 1 (only this should open)
....[]Secundary 1.1
....[]Secundary 1.2
[]Primary 2
....[]Secundary 2.2
....[]Secundary 2.2
[]Primary 3
....[]Secundary 3.1
....[]Secundary 3.2
I thought that some code in the question itself could instruct the secundaries to remain hidden until the correspondent primary is selected, but my limited skills didn't allow me to solve this yet...
Any ideas on how to do it?
Thanks a lot!