TOPIC: Group randomisation.

Hi all. Could anyone help with a quick question re randomising groups? I've set up the group sequence randomisation as per (bugs.limesurvey.org/file_download.php?file_id=1228&type=bug) but find the order of all groups is randomised, not only those with _rand() appended. Any ideas what I've done wrong?

The administrator has disabled public write access.

JavaScript is currently disabled.Please enable it for a better experience of Jumi.

I tried the hack with 1.70, 1.87+ and 1.91+. It only randomises the groups in 1.87+ but it's then all or nothing.

Turning debugging on in config.php returns no errors and I wouldn't know where to start with inserting PHP to log the function. Waiting until randomisation is included in the build isn't an option, so I'll keep trying to find a workaround for now.

@Shnoulle: I couldn't find anything on Group Randomization (randomizing groups of questions). Are you referring to "Randomization group name"?

Because while it sounds like you can randomize groups, it just defines groups of questions, where the containing questions can be randomized. I don't like the wording, because it can really easily misunderstood and taken for the randomization of question groups. But what it really does is randomizing questions within a "group" which has nothing to do with the question groups we know from LS.

Thanks for the replies but yes, the "Randomisation group name" field is the only relevant setting in the advanced section of each question. The tooltip states, as holch suggests, "all questions included in the specified group will appear in a random order". It doesn't randomise the group order, only the order of questions within a particular group.

Having hacked and uploaded a fresh copy of index.php on 1.87+, the group randomisation in the pdf linked from my OP seems to be working and stable. It had a period of stability before it broke previously, so I wonder if something wrote to the index file. I don't know of anything that writes to index.php but I'll keep a check on the modification date.

For anyone else wishing to randomise the group order, use the pdf hack with 1.87+ (rather than the version specified in the instructions) and insert the code around line 2814 (rather than the line specified in the instructions). I'll repost here if it breaks again.

Thanks for the replies but yes, the "Randomisation group name" field is the only relevant setting in the advanced section of each question. The tooltip states, as holch suggests, "all questions included in the specified group will appear in a random order". It doesn't randomise the group order, only the order of questions within a particular group.