0 votes
in SoSci Survey (English) by s093160 (200 points)
closed by SoSci Survey

Currently I am using the below code to randomise the presentation order:

if (!isset($questions)) {
  // make a list of question IDs
  $questions = array(
    'IV01', 'IV02',
    'IV03', 'IV04',
    'IV05', 'IV06',
      
  );
  // shuffle list randomly
  shuffle($questions);
  // make lists available on all pages
  registerVariable('questions');
}
 
$i = loopPage(count($questions));
question($questions[$i]);
closed with the note: Unfortunaltey, no additional information was given to allow for a qualified solution.
by SoSci Survey (328k points)
Please be a bit more extensive in your explanations, How do the questions IDs refer to one another? Do you maybe want to present pairs of two questions on a random order?

Willkommen im Online-Support von SoSci Survey.

Hier bekommen Sie schnelle und fundierte Antworten von anderen Projektleitern und direkt von SoSci Survey.

→ Eine Frage stellen


Welcome to the SoSci Survey online support.

Simply ask a question to quickly get answers from other professionals, and directly from SoSci Survey.

→ Ask a Question

...