If you have a ranking question or a capture order multi, you will easily be able to report on which ranks/order of mention each answer got. However, if you want to report on answers per rank/order of mention, you will save some recoding work by creating a set of hidden single variables for each rank/order of mention, that have the same answer list as the multi.
In this example we have a question “cars”, in which the respondents are asked to rank up to three of their favorite cars. The three hidden single questions rank1, rank2 and rank3, are set up with the same answer list as the multi, and will be used to store the car selected as number 1, 2 and 3.
Figure 1 - Ranking example
The following script will set the single questions based on the responses to the ranking question:
var ordered = AnswerOrder("cars");
for(var i=0;i<ordered.length;i++)
{
f("rank"+(i+1)).set(ordered[i]);
}