- Posts: 11
- Thank you received: 0
What version you are trying to modify? This is quite old workaround and have some drawbacks or uncertainties like this: bugs.limesurvey.org/view.php?id=557#c12962 (probably you have read that discussion)
I think that using debugger or inserting some logging code to RandomizeSessionGroupList() function will be the best solution here.
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.
- Posts: 8878
- Karma: 400
- Thank you received: 1469
Look at advanced settings of each question.
( i didn't test it )
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.
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.
A feature to randomize question groups exists since Limesurvey 2.0, see manual.limesurvey.org/Creating_a_questio..._group_randomization
mwilliams wrote: 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.
Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support