<p>I recently needed to crate very similar survey, and managed to get better randomisation: </p>

<ol>
<li>As @verybadatthis each question went to its own block; </li>
<li>Go to Survey Flow, created a Randomizer Flow element; </li>
<li>Added blocks to the randomizer flow. </li>
</ol>

<p>Providing introduction panels and outro panels for each logical survey section was also straightforward --- I created a group flow element that contained intro, outro and beforementioned randomiser. So in the end it everything looked like that: </p>

<p><a href="https://i.sstatic.net/YKmeR.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/YKmeR.png" alt="Example of survey structure"></a></p>

<p>Aforementioned appreach allowed me to easily randomize blocks of about 30 questions. </p>

<p>If you want more detalis here is my blog post on the matter: <a href="https://blog.askesis.pl/post/2019/04/qualtrics-random.html" rel="nofollow noreferrer">https://blog.askesis.pl/post/2019/04/qualtrics-random.html</a></p>

CC BY-SA 4.0
2019-04-15T14:34:03.013Z
2019-05-05T16:56:58.563Z
2019-05-05T16:56:58.563Z
jb.
<p>I've since completed this survey, so I thought that I would update with what I ended up doing. </p>

<p>So, it turns out to not be possible to do randomization in an easy way when timing questions are involved, based on a review of online resources and talking to Qualtrics support. Timing questions simply don't support Qualtrics randomization, and there is not an advanced option to get around this. </p>

<p>In the end, I used the following solution:</p>

<p>1 - I divided each of my questions into a separate block which consisted of the timing question, the multiple choice question, and a feedback display. </p>

<p>2 - Instead of randomizing fully, I created 10 manual counterbalance conditions. I determined 10 different arrangements of my 8 questions that it seemed very unlikely that order effects would hurt my survey. For example, questions 1-8 in order, reverse order, and then shuffled randomly 8 additional times.  </p>

<p>3- In my case, with 8 questions to randomize,  I used the web services to randomly generate a number from 1-10, and then used a series of "if" statements which would trigger a conditional branch based on the random number, and then display the questions in a set order. </p>

<p>For my use case this ended up being the best solution I could find. Manually and fully randomizing all blocks would have required 8! = 40,000+ different conditions. Even using a script to generate a .qsf file with this survey design would not work -- in my testing Qualtrics crashed whenever I tried to run a survey of this size. </p>

<p>For those with fewer questions, programmatically creating a text file (either qsf or advanced text) may be a viable option. I found <a href="https://gist.github.com/ctesta01/d4255959dace01431fb90618d1e8c241" rel="nofollow noreferrer">this link describing how to read qsf files in R</a> and this <a href="https://www.qualtrics.com/support/survey-platform/survey-module/survey-tools/import-and-export-surveys/" rel="nofollow noreferrer">explanation of import and exporting surveys</a> helpful. </p>

<p>(I'm going to accept this answer as I believe it's the most comprehensive response to my question possible, but if an editor disagrees and would prefer it remain open feel free to revert)</p>

CC BY-SA 4.0
2018-05-31T22:15:55.823Z
2018-05-31T22:15:55.823Z
verybadatthis
<p>My current survey has a number of blocks. Each of those blocks contains a bunch of questions, each on their own page with a page break, and each with an associated timing question to limit time spent filling it out. I'd like to randomize the order of these questions, but not randomize the order of the timing questions. Right now, if I just randomize the entire block, the timing questions will get shuffled too.</p>
<p>Essentially my blocks look like this:</p>
<blockquote>
<p>---- (page break)</p>
<ol>
<li><p>timing question</p>
</li>
<li><p>quiz question</p>
</li>
</ol>
<hr />
<ol start="3">
<li><p>timing question</p>
</li>
<li><p>quiz question</p>
</li>
</ol>
<hr />
<ol start="5">
<li><p>timing question</p>
</li>
<li><p>quiz question</p>
</li>
</ol>
<p>---- etc..</p>
</blockquote>
<p>In the above example, I'd like to randomize the order of questions 2, 4, and 6.</p>
<p>Any suggestions on how to do this? Previously when this has been asked it has been suggested to put the questions into blocks and then randomize the order of the blocks, as in here: <a href="https://psychology.stackexchange.com/questions/16930/how-to-randomise-order-of-survey-items-in-qualtrics-where-some-items-have-to-app">How to randomise order of survey items in Qualtrics where some items have to appear together?</a>.</p>
<p>This is not really a workable solution for me - it would result in a really unwieldy number of blocks and a very hard to modify and upkeep survey.</p>

<measurement><methodology>
How do you randomize within a Qualtrics form without breaking timing?
verybadatthis
# How do you randomize within a Qualtrics form without breaking timing?

(Asked by: username_0 on 2018-04-23)

My current survey has a number of blocks. Each of those blocks contains a bunch of questions, each on their own page with a page break, and each with an associated timing question to limit time spent filling it out. I'd like to randomize the order of these questions, but not randomize the order of the timing questions. Right now, if I just randomize the entire block, the timing questions will get shuffled too.

Essentially my blocks look like this:

> ---- (page break)
>
> 1. timing question
> 2. quiz question
>
> ---
>
> 3. timing question
> 4. quiz question
>
> ---
>
> 5. timing question
> 6. quiz question
>
> ---- etc..

In the above example, I'd like to randomize the order of questions 2, 4, and 6.

Any suggestions on how to do this? Previously when this has been asked it has been suggested to put the questions into blocks and then randomize the order of the blocks, as in here: [How to randomise order of survey items in Qualtrics where some items have to appear together?](https://psychology.stackexchange.com/questions/16930/how-to-randomise-order-of-survey-items-in-qualtrics-where-some-items-have-to-app).

This is not really a workable solution for me - it would result in a really unwieldy number of blocks and a very hard to modify and upkeep survey.

**Tags:** measurement, methodology


---

## 2 answers

### Answer by username_0 on 2018-05-31. Score: 2 | Accepted answer

I've since completed this survey, so I thought that I would update with what I ended up doing.

So, it turns out to not be possible to do randomization in an easy way when timing questions are involved, based on a review of online resources and talking to Qualtrics support. Timing questions simply don't support Qualtrics randomization, and there is not an advanced option to get around this.

In the end, I used the following solution:

1 - I divided each of my questions into a separate block which consisted of the timing question, the multiple choice question, and a feedback display.

2 - Instead of randomizing fully, I created 10 manual counterbalance conditions. I determined 10 different arrangements of my 8 questions that it seemed very unlikely that order effects would hurt my survey. For example, questions 1-8 in order, reverse order, and then shuffled randomly 8 additional times.

3- In my case, with 8 questions to randomize, I used the web services to randomly generate a number from 1-10, and then used a series of "if" statements which would trigger a conditional branch based on the random number, and then display the questions in a set order.

For my use case this ended up being the best solution I could find. Manually and fully randomizing all blocks would have required 8! = 40,000+ different conditions. Even using a script to generate a .qsf file with this survey design would not work -- in my testing Qualtrics crashed whenever I tried to run a survey of this size.

For those with fewer questions, programmatically creating a text file (either qsf or advanced text) may be a viable option. I found [this link describing how to read qsf files in R](https://gist.github.com/ctesta01/d4255959dace01431fb90618d1e8c241) and this [explanation of import and exporting surveys](https://www.qualtrics.com/support/survey-platform/survey-module/survey-tools/import-and-export-surveys/) helpful.

(I'm going to accept this answer as I believe it's the most comprehensive response to my question possible, but if an editor disagrees and would prefer it remain open feel free to revert)


---

### Answer by username_1 on 2019-04-15. Score: -1

I recently needed to crate very similar survey, and managed to get better randomisation:

1. As @username_0 each question went to its own block;
2. Go to Survey Flow, created a Randomizer Flow element;
3. Added blocks to the randomizer flow.

Providing introduction panels and outro panels for each logical survey section was also straightforward --- I created a group flow element that contained intro, outro and beforementioned randomiser. So in the end it everything looked like that:

[![Example of survey structure](https://i.sstatic.net/YKmeR.png)](https://i.sstatic.net/YKmeR.png)

Aforementioned appreach allowed me to easily randomize blocks of about 30 questions.

If you want more detalis here is my blog post on the matter: <https://blog.askesis.pl/post/2019/04/qualtrics-random.html>


---

