Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

Drag and drop piping 2nd priority

Hi all,

I have set up a drag and drop question, where I am asking the respondents to rank the top 2 priority.
I will need then to ask them an OE question where they would give their reason and piping the answers ranked in the question text.
I successfully set up the first one using a constructed list with AIE script code but couldn't replicate it for the second.
Would anyone be able to help me out on how to do so for the second choice?

asked Oct 4, 2016 by Jack
What logic did you use that did not work?  The first choice should be equal to 1 and the second equal to 2.

1 Answer

0 votes
I believe AIE should work for drag-and-drop ranking.  I created a constructed list "List2" with this code:

AIE(RankingQ, 1)
AIE(RankingQ, 2)

The first OE can be given this code:

[% ListLabel(List2, 1) %]

And the second this code:

[% ListLabel(List2, 2) %]

Does this work for you?
answered Oct 4, 2016 by Zachary Platinum Sawtooth Software, Inc. (83,900 points)
Yes it worked! thanks a lot