How to refer to the first displayed choice of a previous question? | XM Community
Skip to main content

How to refer to the first displayed choice of a previous question?

  • August 10, 2022
  • 1 reply
  • 23 views

Forum|alt.badge.img+6

Hi,
I have a hidden question that randomly shows 5 out of 70+ choices. How can I display/pipe the first and second displayed choices on the next question?
${q://QID76/ChoiceGroup/DisplayedChoices} displays an array of displayed choices. I tried displaying one of the displayed choices using an index, but it doesn't work.

1 reply

rondev
Level 6 ●●●●●●
Forum|alt.badge.img+22
  • Level 6 ●●●●●●
  • 1449 replies
  • August 16, 2022

We can use JS to split the piped value and get the first two elements.


Leave a Reply