Embedding data from selected choices | XM Community
Skip to main content
Solved

Embedding data from selected choices

  • December 3, 2018
  • 2 replies
  • 18 views

Forum|alt.badge.img+2
I have multiple choice questions in my survey. I want to embed data that is one choice away from the selected answer in a particular question. How can I achieve this task?

Best answer by TomG

You can use a JS addOnPageSubmit function to find the selected answer then find the next and/or previous adjacent answer and save it as an embedded variable.

2 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Answer
  • December 3, 2018
You can use a JS addOnPageSubmit function to find the selected answer then find the next and/or previous adjacent answer and save it as an embedded variable.

Forum|alt.badge.img+2
  • Author
  • January 1, 2019
> @TomG said: > You can use a JS addOnPageSubmit function to find the selected answer then find the next and/or previous adjacent answer and save it as an embedded variable. Is this JS function in Qualtrics API or is it a self-defined function?