Need help setting rank-order answers as embedded data with conditional answer options | XM Community
Skip to main content

Hi everyone,
So basically I have a few multiple choice questions that look like this:
image.pngAnd depending on which ones are selected from these I then have a rank question where only the options selected in these will be shown:
image.pngNow I need to have the options that are displayed above saved as embedded data so that I can pipe it in to various sections later on. To do this I was planning on using JS that looks like below:
image.pngHowever, it turns out that the first choice is always "Mission" in this case, and doesn't respect which values are actually being shown. I know in general, if I want all displayed choices for example I'd have ${q://QID41/ChoiceGroup/DisplayedChoices}. Does anyone know if I can access each individual displayed value, one at a time, so that I can save it as embedded data?

Try fetching values based on eq() and it will show only the one on the top.


Leave a Reply