# Builder-\>online-\>staircases?

**URL:** <https://discourse.psychopy.org/t/builder-online-staircases/5021>\
**Category:** Online experiments\
**Created:** [August 7, 2018, 9:20pm UTC](https://discourse.psychopy.org/t/builder-online-staircases/5021 "2018-08-07T21:20:17Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![George\_Lovell](https://avatars.discourse-cdn.com/v4/letter/g/a3d4f5/32.png) [@George\_Lovell](https://discourse.psychopy.org/u/George_Lovell)\
**Post date:** [August 7, 2018, 9:20pm UTC](https://discourse.psychopy.org/t/builder-online-staircases/5021/1 "2018-08-07T21:20:17Z")

</div>

PsychoPy3\_Python2

Hi All,

I’m just trying to get to grips with the current (3) version of psychopy and online studies. Can anyone confirm whether staircases (and particularly interleaved staircases) are implemented in the current version?

Currently I’m getting this error upon html compilation: “AttributeError: ‘StairHandler’ object has no attribute ‘writeInitCodeJS’”.

Does this mean that builder wont yet compile staircases to html? If that’s the case am I better delving into psychoJS? I’m trying to stick to builder as much as i can as I intend teaching my undergraduates and some faculty to use psychopy for their online studies. Hence trying to concentrate my efforts on a single (easier) platform.

- 
  - And thanks for all your efforts so far, this is looking great! - -

Best wishes,

George

---

<div class="post-metadata">

**Author:** ![jon](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jon/32/22_2.png) [@jon](https://discourse.psychopy.org/u/jon)\
**Post date:** [August 8, 2018, 9:53am UTC](https://discourse.psychopy.org/t/builder-online-staircases/5021/2 "2018-08-08T09:53:37Z")

</div>

Yes, staircases aren’t yet in the PsychoJS library so can’t be used in online studies. This first period of work has been focussed mostly on getting the server working and making it as easy as possible to connect from the app. There will be a new wave of PsychoJS development soon though, where we’ll hopefully be adding

- movies
- slider (rating) scales
- staircases
- polygon
- better timing

---

<div class="post-metadata">

**Author:** ![George\_Lovell](https://avatars.discourse-cdn.com/v4/letter/g/a3d4f5/32.png) [@George\_Lovell](https://discourse.psychopy.org/u/George_Lovell)\
**Post date:** [August 8, 2018, 12:43pm UTC](https://discourse.psychopy.org/t/builder-online-staircases/5021/3 "2018-08-08T12:43:25Z")

</div>

Thanks!

---

<div class="post-metadata">

**Author:** ![vasi](https://avatars.discourse-cdn.com/v4/letter/v/a4c791/32.png) [@vasi](https://discourse.psychopy.org/u/vasi)\
**Post date:** [July 22, 2019, 3:18pm UTC](https://discourse.psychopy.org/t/builder-online-staircases/5021/4 "2019-07-22T15:18:31Z")

</div>

Hello ,  
I’ve noticed that this question is from August 2018. I would like to ask if now it is possible to use the staircase for online experiments? I have tried to use it and the experiment does not run in pavlovia but it runs locally.

I would appreciate any help. Thank you!

---

<div class="post-metadata">

**Author:** ![haaleemur](https://avatars.discourse-cdn.com/v4/letter/h/e19adc/32.png) [@haaleemur](https://discourse.psychopy.org/u/haaleemur)\
**Post date:** [August 6, 2019, 8:09pm UTC](https://discourse.psychopy.org/t/builder-online-staircases/5021/5 "2019-08-06T20:09:07Z")

</div>

Wondering if there is any update, is it possible to use a staircase online?

---

<div class="post-metadata">

**Author:** ![drbenvincent](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/drbenvincent/32/2040_2.png) [@drbenvincent](https://discourse.psychopy.org/u/drbenvincent)\
**Post date:** [March 17, 2020, 5:43pm UTC](https://discourse.psychopy.org/t/builder-online-staircases/5021/6 "2020-03-17T17:43:18Z")

</div>

I’m also interested in whether staircases will run for online studies 🙂

---

<div class="post-metadata">

**Author:** ![jon](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jon/32/22_2.png) [@jon](https://discourse.psychopy.org/u/jon)\
**Post date:** [March 19, 2020, 12:01pm UTC](https://discourse.psychopy.org/t/builder-online-staircases/5021/7 "2020-03-19T12:01:48Z")

</div>

Sorry, no they haven’t been added yet. The current list of desirables is roughly

- forms (a la qualtrics)
- microphone recordings
- staircases

and I’m not sure the order to prioritise those

---

<div class="post-metadata">

**Author:** ![MThirkettle](https://avatars.discourse-cdn.com/v4/letter/m/76d3ee/32.png) [@MThirkettle](https://discourse.psychopy.org/u/MThirkettle)\
**Post date:** [March 27, 2020, 2:27pm UTC](https://discourse.psychopy.org/t/builder-online-staircases/5021/8 "2020-03-27T14:27:43Z")

</div>

I came here to ask the same question about staircases in online. If possible, I’d vote for this to be above the forms and microphone in the priority list. 🙂

---

<div class="post-metadata">

**Author:** ![niclai](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/niclai/32/4405_2.png) [@niclai](https://discourse.psychopy.org/u/niclai)\
**Post date:** [June 24, 2020, 2:03pm UTC](https://discourse.psychopy.org/t/builder-online-staircases/5021/9 "2020-06-24T14:03:44Z")

</div>

I implemented a staircase class handler that I’m currently using in some psychopy experiments. I’ll put the code here in case is of any help for someone.

> <https://gist.github.com/nik0lai/2459137c31ebd209899c33dca12cec4a>

It should work both online (with the JS autotranslator) and offline. Only mind that a JS equivalent sum function needs to be added manually. Also, probably test it with your data before using it with real subjects 😅

---

<div class="post-metadata">

**Author:** ![simon.dp](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/simon.dp/32/6313_2.png) [@simon.dp](https://discourse.psychopy.org/u/simon.dp)\
**Post date:** [July 22, 2020, 7:12am UTC](https://discourse.psychopy.org/t/builder-online-staircases/5021/10 "2020-07-22T07:12:59Z")

</div>

Does anyone know if there is any timeline at all for stair cases to be adapted for online usage?

I made a first experiment using QUEST and due to the current circumstances, I may have to do the replication online.

---

<div class="post-metadata">

**Author:** ![simon.dp](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/simon.dp/32/6313_2.png) [@simon.dp](https://discourse.psychopy.org/u/simon.dp)\
**Post date:** [August 12, 2020, 1:38pm UTC](https://discourse.psychopy.org/t/builder-online-staircases/5021/11 "2020-08-12T13:38:15Z")

</div>

For a moment, I thought that quest was now a possibility in online experiments, when I saw Questplus as a new feature. However, it seems that I was wrong.

Does anyone know if there is any timeline at all for stair cases to be adapted for online usage?

---

<div class="post-metadata">

**Author:** ![jon](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jon/32/22_2.png) [@jon](https://discourse.psychopy.org/u/jon)\
**Post date:** [February 4, 2021, 12:09pm UTC](https://discourse.psychopy.org/t/builder-online-staircases/5021/12 "2021-02-04T12:09:26Z")

</div>

As an update for the curious, QuestPlus is still in development by @richard I believe

In the meantime, @Becca has a live demo of how to get this working using a code component. You could fork that to get started on your own:

> **[Rebecca Hirst / interleaved-staircase](https://gitlab.pavlovia.org/lpxrh6/interleaved-staircase)**
>
> Demo of a basic interleaved staircase based on multistair handler.

---

<div class="post-metadata">

**Author:** ![Yaning\_Lu](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/yaning_lu/32/45234_2.png) [@Yaning\_Lu](https://discourse.psychopy.org/u/Yaning_Lu)\
**Post date:** [May 27, 2025, 5:02pm UTC](https://discourse.psychopy.org/t/builder-online-staircases/5021/13 "2025-05-27T17:02:29Z")

</div>

Follow up:  
Can we use staircase online now?

Thanks!
