The source file can be found here so anyone can import it to study its structure and tweak it to their liking.
The project is really simple. The users will pick a color out of red, green and blue and based on that answer they will be asked a new question about the color they picked.
A combination of JUMPS is used to create the conditional flow. Based on the color selected, the users will "jump" to the related dropdown, which will show a list of possible answers related to that color only.
Please note there is not the need to "jump" when the users select "Red" as that follow the normal questionnaire flow. That is why there are only two jumps with three possible answers.
The dependent dropdowns have all a jump set to "always" pointing to the last question (the README with some comments). This is to avoid the users to seethe dependent dropdowns they are not interested in.
They are also set as required forcing the users to pick a possible answer from the list.
When looking at the data, the answers from the dependent dropdowns will be spread across separate columns, one per each dropdown. Those columns can easily be merged in the post-processing of data using Excel or similar tools.This article shows a few simple ways to do that.
The approach shown here can be used with any multiple choice question types like RADIO, CHECKBOX and SEARCH.