Time Limit Question type : Text display

More
1 month 2 weeks ago #228227 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.

More
1 month 1 week ago #228263 by tpartner
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.

More
1 month 1 week ago #228265 by Sejtibbels
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
Attachments:

Please Log in to join the conversation.

More
1 month 1 week ago #228273 by tpartner
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.

More
1 month 1 week ago #228274 by Joffm
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)
<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
Attachments:

Please Log in to join the conversation.

More
1 month 1 week ago #228275 by Sejtibbels
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.

More
1 month 1 week ago #228305 by holch

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.

Start now!

Just create your account and start using Limesurvey today.

Register now