Hi, Lisa,
Your javascript to get the "random number" is possible, but here not the best solution. I did not look at it to see if there was a mistake.
Sufficient (and the usual approach for this): question of type "equation" with
{if(is_empty(random),rand(1,3),random)}
All you need is this random number from 1-3 then your three groups get the relevance equations "Is the random number equal 1, then show Group 1, is it equal 2 then show group 2, ...
And to show the questions on one page, split the groups into three, each with one question.
Block 1A: random==1
Block 1B: random==1
Block 1C: random==1
Block 2A: random==2
...
Block 3C: random=
4. Your blocks do not get a randomization group name.
Always remember: If you want to display randomly ONE option out of many you use a random number.
If you want to display ALL questions/groups, but in random order, you use the randomizationgroup name.
But you may do that. If you want to display the questions of each block in random order, well, all questions of Block1X get "RG1", all of Block2X "RG"",...
By the way: Why can't I have a balcony AND a garden?
Here the survey corrected.
Joffm
Having said all this:
I checked your survey, which works fine (with the different way to define and use the random number).
The only missing thing is the splitting of each block into three.