Welcome to the LimeSurvey Community Forum

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

Timer

More
7 years 4 months ago #144179 by DPoth
Timer was created by DPoth
Hello,

I would like to include a small IQ-Test in one of my surveys.
That for, I would like to integrate a timer on question groups or questions. Until now I didn't find a way to do this...
Has someone some experience with this?

Thanks!
The topic has been locked.
More
7 years 4 months ago #144189 by urbana
Replied by urbana on topic Timer
Have you already checked the manual and the forum search?
This staff is already discussed and documented a lot:
www.google.at/search?q=limesruvey+timer&...8#q=limesurvey+timer

manual.limesurvey.org/QS:Time_limit/en
manual.limesurvey.org/QS:Time_limit_action

Or do you have already a concrete question?
The following user(s) said Thank You: DPoth
The topic has been locked.
More
7 years 4 months ago #144320 by DPoth
Replied by DPoth on topic Timer
Thank you!
I am new and can't code.
Since it is an iq test, I would have to set a timer for a whole question group...
Apparently this is only doable with coding, is it?

Is this doable for someone who doesn't even know how to get access to the "rawcode"?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 4 months ago #144326 by tpartner
Replied by tpartner on topic Timer
You should be able to place a short-text question with a timer in each group and hide them with CSS or JavaScript.

To hide a question with CSS, add something like this too the end of template.css, where 1234 is the question ID :
Code:
#question1234 {
  display: none;
}

To hide a question with JavaScript, set up your survey to use JavaScript and add this to the question source:
Code:
<script type="text/javascript" charset="utf-8">  
  $(document).ready(function() {    
    $('#question{QID}').hide();
    });
</script>

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DPoth
The topic has been locked.
More
7 years 3 months ago #145172 by DPoth
Replied by DPoth on topic Timer
This seems very helpful!!!

So I understand that I have to hide the question in Order. But if I would like to show the participant the remaining time for the question group, is there a way to display it, eventhough that I hide the question containing the timelimit?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 3 months ago #145183 by tpartner
Replied by tpartner on topic Timer
Leave the question visible and hide everything except the timer element. What LimeSurvey version and template are you using?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DPoth
The topic has been locked.
More
7 years 3 months ago #145184 by DPoth
Replied by DPoth on topic Timer
Furthermore,
how do I proceed to the next page if the timer expires. Since for question groups the timer triggers "warning and disable" and not "warning and continue"?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 3 months ago #145188 by tpartner
Replied by tpartner on topic Timer
I don't understand the question, in groups you have an option to warn and move on.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
7 years 3 months ago #145189 by DPoth
Replied by DPoth on topic Timer
LimeSurvey
Version 2.51.4+160908

In the manual I found the information, that if i set "warning and continue" for the time limit, this will not be the case for question groups.
manual.limesurvey.org/QS:Time_limit_action
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 3 months ago #145190 by tpartner
Replied by tpartner on topic Timer
That's an error. Did you try it?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
7 years 3 months ago #145191 by DPoth
Replied by DPoth on topic Timer
Well I just ran a group-preview. If I set a time limit on a first question, I can still change my answer to the second after the timeout...
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 3 months ago #145193 by tpartner
Replied by tpartner on topic Timer
Err...how is it supposed to advance the survey in group preview. Test with survey preview.

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