# Alternative Randomisation

**URL:** https://forum.surveyengine.com/t/alternative-randomisation/320
**Category:** Support
**Created:** [18 November 2025 15:44 UTC](https://forum.surveyengine.com/t/alternative-randomisation/320 "2025-11-18T15:44:25Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![SurveyEngineSupport](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.surveyengine.com/surveyenginesupport/32/100_2.png) [@SurveyEngineSupport](https://forum.surveyengine.com/u/SurveyEngineSupport)
#### Post date: [18 November 2025 15:44 UTC](https://forum.surveyengine.com/t/alternative-randomisation/320/1 "2025-11-18T15:44:25Z")

</div>

from the support desk

> Email:  
> Ticket name: Alternative Randomisation  
> Steps to Reproduce the Problem: I want to randomise the alternatives for an experiment once per respondent. I use the fixed order method from the tutorial. I create a derived box named: fixed\_order with value “3,2,1”. Then I paste the following script  
> $fixed\_order
> 
> . Then I have two issues: a) The order is always the same 3, 2, 1. b) The randomization takes place only in the label and not in the attributes which is totally wrong.

![](https://dub1.discourse-cdn.com/flex017/images/transparent.png)

---

<div class="post-metadata">

### Author: ![benno](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.surveyengine.com/benno/32/3_2.png) [@benno](https://forum.surveyengine.com/u/benno)
#### Post date: [18 November 2025 16:32 UTC](https://forum.surveyengine.com/t/alternative-randomisation/320/2 "2025-11-18T16:32:10Z")

</div>

Christos,  
Looking at your code you sent support - it all works properly with each alternative being reordered according to the random\_order variable.  
It’s possible when debugging through the preview you recalculated the random order multiple times.

Here is a cutdown version of your study with a link to the file within.

> **[\- SurveyEngine](https://v5-0-0.saas-de1.surveyengine.com/bin/play.pl?PLAYSID=60cf6052e2928f905bbf3285b507be82)**

You’re probably using the randomising tutorial below

> **[\- SurveyEngine](https://v5-0-0.saas-de1.surveyengine.com/bin/play.pl?PLAYSID=cb41b88a26e60e106fd37754ef3452a0)**
