#1
by
lucilaa
Hello, I was wondering if timeout_seconds can have decimal places. For example, can I say 1.5 for one and a half seconds or will it get rounded up? Thank you
#2
by
lucilaa
or, for example, 0.4 or 0.8
#3
by
Chris_oTree
timeout_seconds is not designed to be precise like that. Better to make your own timer in javascript using setTimeout to submit the form.
#4
by
BonnEconLab
Chris_oTree wrote: > Better to make your own timer in javascript using setTimeout to submit the form. I’d like to add a caveat: JavaScript is executed client-side, so refreshing the page will reset any JavaScript-based time measurement — in contrast to server-side time measurement. See also my explanation on https://www.otreehub.com/forum/602/.