# Getting accurate ratings in online experiment

**URL:** https://discourse.psychopy.org/t/getting-accurate-ratings-in-online-experiment/26404
**Category:** Online experiments
**Created:** [December 9, 2021, 10:12am UTC](https://discourse.psychopy.org/t/getting-accurate-ratings-in-online-experiment/26404 "2021-12-09T10:12:43Z")
**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 9, 2021, 10:28am UTC](https://discourse.psychopy.org/t/getting-accurate-ratings-in-online-experiment/26404/2 "2021-12-09T10:28:32Z")

</div>

You can have a slider which doesn’t automatically submit, and then have a separate button to submit. One common question on the forum is how to check that the slider has been moved before the page can be submitted.

> [@Don't take key press until slider response is made!](https://discourse.psychopy.org/t/dont-take-key-press-until-slider-response-is-made/14655/2):
>
> Instead of having your keyboard component force the end of the routine, you need some code in Each Frame e.g. if slider.getRating() != None: if 'space' in key\_resp.keys: continueRoutine=False When this auto translates, you’ll need to switch the component to Both and then change null (the auto translation of None) to undefined

(in your case you’ll need a mouse submit, not a keyboard)

---

_[View the full topic](https://discourse.psychopy.org/t/getting-accurate-ratings-in-online-experiment/26404)._
