Welcome to the LimeSurvey Community Forum

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

Time Limit Question type : Text display

  • Sejtibbels
  • Sejtibbels's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 11 months ago #228227 by Sejtibbels
Time Limit Question type : Text display was created by Sejtibbels
Your LimeSurvey version: Version 3.28.9+220503
Survey theme/template: Vanilla
==================
Hi all, 

I'm am trying to show images for 3 seconds each. Therefore, I have created separate questions groups for each image where I have inserted the image into a question type: text display.
In the "timer" section I have set the time limit to "3" and the time limit action to "move on without warning". 
However, when I preview the survey, the images do not disappear (the page does not move on) after 3 seconds, I need to press "next" for it to move on. 

I'm hoping i'm just missing something very obvious...}
Many thanks in advance, 
Sarah 

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 11 months ago #228263 by tpartner
Replied by tpartner on topic Time Limit Question type : Text display
We cannot give advice without seeing what you have done. Can you attach a small sample survey (.lss file) containing only the relevant question?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

  • Sejtibbels
  • Sejtibbels's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 11 months ago #228265 by Sejtibbels
Replied by Sejtibbels on topic Time Limit Question type : Text display
Thank you so much for getting back to me! 
I've attached a question group so you can have a look to see if i've made obvious mistakes. 

Thanks in advance, 
Sarah  

File Attachment:

File Name: limesurvey...0038.lsg
File Size:3 KB

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 11 months ago #228273 by tpartner
Replied by tpartner on topic Time Limit Question type : Text display
We ask for .lss survey exports so the volunteers here don't have to waste time figuring out the base language and creating a survey before they can start to help.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 11 months ago #228274 by Joffm
Replied by Joffm on topic Time Limit Question type : Text display
Hi, Sarah,
Tony and we all always ask for a lss export, neither lsq nor lsg.
Reasons:
1.lsq and lsg exports are language sensitive. You can't import them into a survey with a different base language.
So we first have to guess the base language of the export, create a new survey to be able to import your group.
2. Some system wide settings - which may be important - are not included in a lsq or lsg export.

Well,
your problem.
There seems to be an issue with the timer in standard vanilla.
You see this
 

Strange enough, it works if you extend the vanilla theme without any change or addition
 

fruity or bootswatch are fine

So the easiest is to extend your theme.

Or if you have not right to do so, but to insert javascript you may use this "timeout"-function
Insert this into the question text (in source code mode)
Code:
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
    setTimeout(function () {
      $('#ls-button-submit').trigger('click');
    }, 3000);
});
</script>

3000?  Time in milliseconds.

Joffm





 

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • Sejtibbels
  • Sejtibbels's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 11 months ago #228275 by Sejtibbels
Replied by Sejtibbels on topic Time Limit Question type : Text display
Hi!

Thank you so much. I changed from the vanilla theme to fruity and it works perfectly now!
Sarah

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 11 months ago #228305 by holch
Replied by holch on topic Time Limit Question type : Text display

There seems to be an issue with the timer in standard vanilla.
[...] Strange enough, it works if you extend the vanilla theme without any change or addition


Is this bug known? Is there a bug report?

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose