Hello Denis!
Your solution is really good,
I've just tried the demo and it works exactly like I would.
I would like to ask you some questions on that...thank you in advance!
I have one first question with type List (dropdown)
with a Category separator (

and Question Code = FATH
Answer options
Code Description
A Customer1:Healthy Life
B Customer1:Smart Cities
C Customer1:Alternative energy
D Customer2:Microtechnologies
E Customer2:Nanotechnologies
F Customer3:Innovation
The second question with type List (dropdown)
and Question Code = CHILD
Answer options
Code Description
A1 healthy_food
A2 eating_habits
A3 lifestyle
B1 new_cities
B2 ecological_cities
B3 green_areas
C1 solar_panels
C2 new_fuels
D1 microtech
D2 lithography
D3 optical_lithografy
E1 nanotech
F1 inn_forpeople
F2 inn_forenv
The second question (CHILD) has to display different elements in the dropdown,
based on the previous choice, for example
SELECTED (in the first dropdown)
A Customer1:Healthy Life
THEREFORE WILL BE SHOWN (in the second dropdown)
A1 healthy_food
A2 eating_habits
A3 lifestyle
Following this example, I just need 2 questions dropdown type
instead of 7 questions with conditions for hiding/showing each of them.
Is that correct?
Then I have to put selectfilter.js
in the correct directory, for example
/template/citronade
if I'm using the citronade template.
Regarding the function call
<script type="text/javascript" charset="utf-8">
selectFilterByCode(qID,filterqID);
</script>
where do I have to put this?
Perhaps I have to put the call in the first dropdown question,
in the 'Relevance' field?
Many thanks for all your work