Hello,
I am creating a survey in which participants evaluate 20 scenarios, with each scenario displayed on a separate page and followed by the same set of 12 rating questions. I have a pool of 60 scenarios, which are stored as text elements (A601, A602, etc.), and I use a random generator (A501) to select 20 scenarios for each participant randomly.
I use loopPage() together with multiLevelDown() to send each selected scenario to a sub-questionnaire called "rating".
I cannot use a matrix question because the 12 items do not share the same scale labels. Although all questions use a 1–7 scale, each item requires different scale labels, so I created 12 separate questions instead.
PHP code in the base questionnaire:
$stimuli = array_values(valueList('A501'));
$stimulusID = loopPage($stimuli);
multiLevelDown('rating', $stimulusID);
PHP code for the sub-questionnaire "rating" (single page):
$stimulusID = multiLevelData();
put('IV01_01', $stimulusID);
text('A6' . sprintf('%02d', $stimulusID));
html('</div>');
question('QA01');
question('QA02');
question('QA03');
question('QA04');
question('QA05');
question('QA06');
question('QA07');
question('QA08');
question('QA09');
question('QA10');
question('QA11');
question('QA12');
However, when previewing the questionnaire, I receive the following warning:
"Creating this questionnaire page requires an unusually large amount of memory (25.0 MB), including 0.0 MB for the actual page content."
Could you recommend a solution or an alternative approach for creating this type of survey structure? I am unsure whether the current memory usage would become a problem during actual data collection, so I would like to avoid potential issues before launching the survey.
Thank you so much!