Solved
Pipe text from ranked items
I am trying to pipe ranked items into following questions, and add some Javascript code because there are also default items that might be overlapped with the ranked items. So I understand that I can access to the highest ranked one with ${q://QID28/ChoiceGroup/ChoiceWithHighestValue}. But what about, say, the second highest? After reading this post, http://kurtmunz.com/2015/05/28/rank-order-carry-forward-in-qualtrics-with-javascript/, I guessed something like, ${q://QID28/ChoiceDescription/2}, might work, but it did not. Does anyone have a good idea about this matter? Thank you so much for helping.
Best answer by TomG
@paniked83,
${q://QID28/ChoiceNumericEntryValue/1} is the rank of the first item,
${q://QID28/ChoiceNumericEntryValue/2} is the rank of the second item,
etc.
So, you need to sort the items based on those ranks, then the second element in your sorted array is the item that was ranked 2nd.
View originalLeave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.