Dynamic answer options based on a list and display logic | XM Community
Skip to main content

Hi there,

 

We have a use case for where we are supposed to have about 200 dropdown answer options. The answer options will also need display logic. Is there an easy way to have a dynamic list loaded into options based on a set of logic coming from embedded data fields?

 

Ankur.

Hi UnKoor,

 

This should help you.


Quick way is, you can use JS for that. create one hidden (using CSS) multiselect question which will keep same answer list as dropdown question. Then check the checkbox of those options using JS which will appear based on embedded field logic. Then apply carryforward on your dropdown question based on selection of hidden multiselect question.

else you can break your dropdown questions as per embedded field logic and can display specific dropdown list based question respective to embedded field. after that you can create one hidden single select question with all 200 option and store the selection from all broken questions (since only one dropdown question will appear with one selection only) then punch that selected option in hidden select to represent and analyzed the merged data.


else you can apply display logic one by one on each dropdown option😀.


Leave a Reply