Just checking here for some helpful comments.
Assume Q1 is a multiple response select question within a loop with 3 iterations.
I also have Q5 which is a single response select question within a loop with 3 iterations.
At Q5, I would like to display the codes mentioned at Q1 for each specific iteration.
Example:
Responses mentioned at Q1 ...
Q1 - Iteration 1: 2,3
Q1 - Iteration 2: 5,9,10
Q1 - Iteration 3: 11,12,13,15
So at Q5, the codes to display are ...
Q5 - Iteration 1: 2,3
Q5 - Iteration 2: 5,9,10
Q5 - Iteration 3: 11,12,13,15
I used a constructed list as follows ...
Begin Unverified Perl
if (LOOPVALUE()==1)
{
AIC("Q1.1",1,5);
RANDOMIZE();
AIC("Q1.1",16);
}
elsif (LOOPVALUE()==2)
{
AIC("Q1.2",6,10);
RANDOMIZE();
AIC("Q1.2",16);
}
elsif (LOOPVALUE()==3)
{
AIC("Q1.3",11,15);
RANDOMIZE();
AIC("Q1.3",16);
}
End Unverified
Is this the best approach?
It appeared to work okay as I was testing.
But when I used the back button, changed answers at Q1, and then went forward again, I seemed to have some odd behaviour as if the constructed lists had not recalculated for Q5?
Many thanks.