Thanks! I followed your advice and created questions with all possible responses. I created separate pages for each question (named AGE1,...,NUM6). I then dragged the RG01 to the page before AGE1 and added:
question('RG01');
$pages = array(
'AGE1', 'AGE2', 'AGE3', 'AGE4', 'AGE5', 'AGE6',
'NUM1', 'NUM2', 'NUM3', 'NUM4', 'NUM5', 'NUM6'
);
shuffle($pages);
setPageOrder($pages, 'POSTEXP');
Then to each of my question pages I added:
(for question with ID AG01)
$group = value('RG01');
if ($group == 1) {
question('AG01', '1,2,3');
} elseif ($group == 2) {
question('AG01', '1,2,4');
} else {
question('AG01', '1,2,5');
}
(for question with ID AG02)
$group = value('RG01');
if ($group == 1) {
question('AG02', '1,2,4');
} elseif ($group == 2) {
question('AG02', '1,2,5');
} else {
question('AG02', '1,2,3');
}
etc., based on my counterbalancing scheme for the response options. It seems to be working! Now all questions are on separate pages, the presentation order is shuffled, and Random Generator does what it's supposed to.