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

Embedding data from selected choices

  • Dec 3, 2018 5:03 PM UTC
  • 2 replies
  • 33 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.
View original

2 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Answer
  • Dec 3, 2018 7:31 PM UTC
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
> @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?