Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Is it possible to implement a Timer for a Multiple Choice question?

More
7 years 2 months ago - 7 years 2 months ago #146568 by Shazz
Hey,
is it possible to implement a Timer for a Multiple Choice Question?
(Nothing spectacular, just a Timer that counts down to 0. There is a Time Limit for Text Display and List, but unfortunately no support for a question type which includes multiple answers.)

Maybe one of you already worked on that or coded it and would like to share it? Sadly, i have no Idea how to do it...
(Or maybe the other way around: adding the possibility to click on several/multiple answers for the list/text display question type, in which the Timer is already included.)

I already managed to disable the answers after a specific time, i just need a visual countdown in addition.

$(document).ready(function() {
setTimeout(function() {
$('#answerXXX').attr("disabled", true);
}, 10000);
});

Greetings and Happy New Year!
Last edit: 7 years 2 months ago by Shazz.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 2 months ago #146571 by tpartner
A workaround is to place a short-text question with a timer in the same group and hide its answer element with CSS or JavaScript.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose