# Answering questions on fourth page of survey jumps the user back to first page

**URL:** <https://discourse.psychopy.org/t/answering-questions-on-fourth-page-of-survey-jumps-the-user-back-to-first-page/37935>\
**Category:** Pavlovia Surveys\
**Created:** [December 15, 2023, 5:49pm UTC](https://discourse.psychopy.org/t/answering-questions-on-fourth-page-of-survey-jumps-the-user-back-to-first-page/37935 "2023-12-15T17:49:38Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [December 15, 2023, 8:19pm UTC](https://discourse.psychopy.org/t/answering-questions-on-fourth-page-of-survey-jumps-the-user-back-to-first-page/37935/2 "2023-12-15T20:19:21Z")

</div>

Do you have any randomisation in your survey? I’ve come across a bug related to this which needs fixing.

> [@Re-evaluating expressions on every button press? (block random assignment question)](https://discourse.psychopy.org/t/re-evaluating-expressions-on-every-button-press-block-random-assignment-question/37726):
>
> Hi folks, I am using Wake’s [Post](https://discourse.psychopy.org/t/what-ar-the-allowed-functions-in-expression-questions-in-survey/32886/2) as a workaround to displaying 1 of 4 possible pages in a randomised way to participants. I have created 2 variables in the main survey logic tab under Calculated Values: randNum, which is set to random()\*4+1 (so random number between 1 and 5) condition, which is set to iif({randNum} \> 4, "cond1", iif({randNum} \> 3, "cond2", iif({randNum} \> 2, "cond3", "cond4"))) I have a welcome page that I want everyone to see and then 4 pages with questions on them. I want…

---

_[View the full topic](https://discourse.psychopy.org/t/answering-questions-on-fourth-page-of-survey-jumps-the-user-back-to-first-page/37935)._
