# Randomisation in Pavlovia Surveys

**URL:** <https://discourse.psychopy.org/t/randomisation-in-pavlovia-surveys/31455>\
**Category:** Pavlovia Surveys\
**Created:** [October 19, 2022, 7:39pm UTC](https://discourse.psychopy.org/t/randomisation-in-pavlovia-surveys/31455 "2022-10-19T19:39:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [October 19, 2022, 7:39pm UTC](https://discourse.psychopy.org/t/randomisation-in-pavlovia-surveys/31455/1 "2022-10-19T19:39:18Z")

</div>

# Randomisation Demo [try it](https://run.pavlovia.org/pavlovia/survey/?surveyId=c61fbb61-b32a-4d87-af8e-fe20f6b9065f) | [json](https://discourse.psychopy.org/uploads/short-url/xaeox9nHp0msCOY70aYu21FRqUR.json)

Simple randomisation is currently available within questions and pages, but the page order is fixed.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/b/2/b29e8c9636808345a79716ff6b22489f5f265754.png)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/3/0/30b53f1b2552f6cc1327fd5121210a377b3a70c3.png)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/b/3/b385c305a4e9fdf27175357cdafeb5244f515661.png)

---

<div class="post-metadata">

**Author:** ![cMadan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/cmadan/32/37189_2.png) [@cMadan](https://discourse.psychopy.org/u/cMadan)\
**Post date:** [February 28, 2023, 1:00am UTC](https://discourse.psychopy.org/t/randomisation-in-pavlovia-surveys/31455/2 "2023-02-28T01:00:07Z")

</div>

Is page order randomisation on the horizon or not likely to be added for awhile?

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [February 28, 2023, 8:44am UTC](https://discourse.psychopy.org/t/randomisation-in-pavlovia-surveys/31455/3 "2023-02-28T08:44:04Z")

</div>

If you want page order randomisation, then there are two options.

1. You could use duplicate pages so you show A1 B or B A2. Random numbers in expressions will hopefully be available within the next week, but you could use the VESPR Study Portal or anything that can give you a value for participant to set the counterbalancing.

2. You could use integration with PsychoPy and have a different survey for each randomised page. This is now available in 2023.1.0. However, due to other bugs in the release (which shouldn’t be a problem for an experiment just geared around surveys) we haven’t been promoting it. The bug fix 2023.1.1 should be available within the next week or so.
