It seems, the timer option is not available for these question types. Is there a way to specify a time limit for multiple short text questions and multiple numeric input questions?
In addition, I was wondering, if it is possible to play some sort of acoustic signal when the timer runs out.
Set the questionnaire to "group by group" and added a question "text" with no text but a timer.
Added a Javascript snippet to play a beep after the timer runs out:
Code:
<script>
// gain, frequency, duration
let a = new AudioContext()
function k(w,x,y){
console.log("Gain:"+w, "Hz:"+x, "ms:"+y)
v = a.createOscillator()
u = a.createGain()
v.connect(u)
v.frequency.value = x
v.type = "square"
u.connect(a.destination)
u.gain.value = w * 0.01
v.start(a.currentTime)
v.stop(a.currentTime + y *0.001)
}
setTimeout(function() {
k(10,233,1000)
}, 10000);
</script>