If all the questions are in the same block, you can use Advanced Randomization on the block to randomize all questions except the attention check.
@TomG No, my questions are not in the same block. Each question contains four parts that all relate to the same example. Right now, I have configured my survey with loop and merge, since 3 out of four of the parts stay the same for each example. Would there be a way to add a fixed attention check with a randomized loop and merge? If not, I could also create a separate block for each example if there was a way to add the attention checks this way. Please let me know. Thank you.
@TomG No, my questions are not in the same block. Each question contains four parts that all relate to the same example. Right now, I have configured my survey with loop and merge, since 3 out of four of the parts stay the same for each example. Would there be a way to add a fixed attention check with a randomized loop and merge? If not, I could also create a separate block for each example if there was a way to add the attention checks this way. Please let me know. Thank you.
You can use JS to pipe the current loop number into an embedded data field, then use it in display logic for the attention check question. Put the attention check question at the end of the block with a page break before it. Add the JS to a question before the page break.
Example:
Qualtrics.SurveyEngine.addOnload(function() {
Qualtrics.SurveyEngine.setJSEmbeddedData("currentLoop","${lm://CurrentLoopNumber}");
});
Base display logic on embedded field __js_currentLoop.