Hi! I am using piped text to use answers from the previous question into the next question. However, the options in the previous question are from an AJAX list and have numerical ID attached to them. So when I use piped texts, it returns the numerical ID instead of the typed entry.
What can I do to get the typed text entry?
Hey rashmi21, could you sure a preview link for your survey so I can see what you're seeing? You might have to add JavaScript to the AJAX list question and set the embeddedData variables there that you want to use later, but I'd like to rule out a few simpler solutions before we jump to custom coding. Thanks!
Thank you JeremyK
Here's the preview link for the survey
Preview - QS Global Academic Survey 2021The question that I am referring to asks for your institution, then it returns the ID for it on the next page. The AJAX question already uses Javascript, so custom coding might be needed.
Do let me know if there's a simpler solution.
I was hoping we could get with using embeddedData[1] to grab the second element in the array, but it looks like the embData field is only taking the one value: the key.
SelectedItems length is only 1
What's your JS for setting the Embedded Data variable? Wondwering if you can tell it to explicitly set the second value of the array rather than the first (e.i. the University name rather than the key).
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.