How to repeat a loop question 3 times in a row? | XM Community
Skip to main content

I am working on a research project where we ask the recipient to study word pairs. I have the word pairs in a loop & merge, RANDOM. However, instead of proceeding to next loop "row", I need to repeat it 3 times in a row before proceeding to the next new word pair, or "row". For example, I want the recipient to study: "one/1", (500ms blank), "one/1", (500ms blank), "one/1", (500ms blank), "two/2", (500ms blank), "two/2", etc. The word pairs have to be selected randomly.
Is it possible to time the question for 10.5 seconds (total) & force a 500ms blank screen after every 3 seconds?
Any ideas?

In the loop and merge block itself, create six question as question showing - "one/1", (500ms blank), "one/1", (500ms blank), "one/1", (500ms blank)"


I should have mentioned that it needs to be randomly picked. I have a list of 24 items, needs to be randomly drawn, but shown 3 times in a row.


I figured it out & sharing on here for others.

  1. In loop & merge, create 6 fields for each word pair, or for each display:

one | 1 | one | 1 | one | 1 | one | 1
two | 2| two| 2| two | 2| two | 2
  • In loop & merge block, create 3 timing questions, set to 3 seconds

  • Under first timing question, add text display for ${lm://Field/1}/${lm://Field/2}

  • Under 2nd timing question, add text display for ${lm://Field/3}/${lm://Field/4}

  • Under 3rd timing question, add text display for ${lm://Field/5}/${lm://Field/6}

  • Add page breaks in between text displays & next timing question.

  • Add to HTML for display texts:

  • Add to javascript for display texts:

Qualtrics.SurveyEngine.addOnReady(function()
{
setTimeout(function() { jQuery("#padTop").hide(); },500);
});



Leave a Reply