I want to rotate hard text with hard questions and easy text with easy questions. However, the texts appear multiple times.
I have page IDs: introduction, pre-test, easy, easy question, hard, hard question, posttest, fi, investment, demo.
I have the following:
1 = easy, easy question, hard, hard question
2 = hard, hard question, easy, easy question
question('R103'); // Draw note from the random number generator
$pages = value('R103', 'label'); // Read out drawn page sequence
setPageOrder($pages, 'posttest'); // Apply page sequence
question('R103');
setPageOrder(value('R103', 'label'), 'posttest');