Rank Answers by Embedded Data Fields | XM Community
Skip to main content
Question

Rank Answers by Embedded Data Fields


Forum|alt.badge.img+1

Hi Community!

We have a survey that has a single select question type with 10 answer choices. Right now we have logic to randomize all answer choices but we would like to rank or sort them by using an embedded data field or an answer from a previous question. Is there anyway to do this?

Thanks in advance!

Jenny

2 replies

  • Level 4 ●●●●
  • 209 replies
  • January 8, 2025

Don’t have the answer option directly into the question. Instead use the embedded data to pull the answer choice based on your ranking. 

 

Use condition in the survey flow to rank them in the question.


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5934 replies
  • January 8, 2025

@JennyLaVan,

You can use JavaScript to reorder choices based on embedded data or an answer from a previous question. 


Leave a Reply