- Posts: 12
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Time limit for question groups
- Dubi
- Topic Author
- Offline
- New Member
Less
More
9 years 3 months ago #116225
by Dubi
Replied by Dubi on topic Time limit for question groups
Now that javascript text in the question is back. I will contact the server support from the university maybe they can change something. Or if you have some tool to fix that problem it will be great. Maybe in the old version is possibel with something else not javascript do that stuff, without disabel that xml thing in security???
Thanks very much, have a nice evening, Dubi
Thanks very much, have a nice evening, Dubi
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11645
- Thank you received: 2738
9 years 3 months ago #116226
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Time limit for question groups
Old version, new version, local install, university server, it is all quite confusing.
My guess: Your university server runs a very old version of Limesurvey (most do and I don't know why, probably because the admins just don't care...) and probably the XSS filter is on, which makes it impossible for you to insert Javascript (or HTML into your survey). I doubt that they will switch off the XSS filter for you.
My guess: Your university server runs a very old version of Limesurvey (most do and I don't know why, probably because the admins just don't care...) and probably the XSS filter is on, which makes it impossible for you to insert Javascript (or HTML into your survey). I doubt that they will switch off the XSS filter for you.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- beccawebb
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
9 years 3 months ago #116435
by beccawebb
Replied by beccawebb on topic Time limit for question groups
I am using limesurvey version 2.05+
I am also having trouble with timing for group questions.
I have two questions per group: One text display with an image and one multiple choice. I want the text display with an image to show for 6seconds before it automatically moves on.
I have it set to show question by question, and I also have group randomisation.
However, the problem is the image doesn't stay on the screen for 6 seconds, it only stays for about half a second.
Does anyone know how I can fix this?
I am also having trouble with timing for group questions.
I have two questions per group: One text display with an image and one multiple choice. I want the text display with an image to show for 6seconds before it automatically moves on.
I have it set to show question by question, and I also have group randomisation.
However, the problem is the image doesn't stay on the screen for 6 seconds, it only stays for about half a second.
Does anyone know how I can fix this?
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11645
- Thank you received: 2738
9 years 3 months ago #116442
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Time limit for question groups
"I have it set to show question by question"
Hmmm, but this means you don't have trouble with timing for group questions, right? *confused*
Hmmm, but this means you don't have trouble with timing for group questions, right? *confused*
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
9 years 2 months ago #116659
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic Time limit for question groups
Please make sure that you clean your cache and cookies before testing. It's possible that the remaining time is saved at e.g a cookie and if that time is zero, the page will directly be submitted because the timer is treated as "counted down".
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
- lglobig
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
4 years 9 months ago - 4 years 9 months ago #186437
by lglobig
Replied by lglobig on topic Time limit for question groups
Sorry but do you know whether for Version 3.14 would it still be this code , where 5639 is the question ID?
<script javascript $(("#question{5639}").hide()></script>
Thanks so much!
<script javascript $(("#question{5639}").hide()></script>
Thanks so much!
Last edit: 4 years 9 months ago by lglobig.
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12908
- Thank you received: 3970
4 years 9 months ago #186449
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Time limit for question groups
Hi,
<script javascript $(("#question{5639}").hide()></script>
is not correct.
{QID} is the expression manager variable for the questionID.
So either question{QID} or the hardcoded question5639
Joffm
<script javascript $(("#question{5639}").hide()></script>
is not correct.
{QID} is the expression manager variable for the questionID.
So either question{QID} or the hardcoded question5639
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: lglobig
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10103
- Thank you received: 3591
4 years 9 months ago #186450
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Time limit for question groups
Your code has several errors.
Code:
<script type="text/javascript" charset="utf-8"> $(document).on('ready pjax:scriptcomplete',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: lglobig
The topic has been locked.
- lglobig
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
4 years 9 months ago #186512
by lglobig
Replied by lglobig on topic Time limit for question groups
Thanks so much! This hides the timer though. Is there any way of keeping the timer ?
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10103
- Thank you received: 3591
4 years 9 months ago - 4 years 9 months ago #186516
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Time limit for question groups
What exactly are you trying to do?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 4 years 9 months ago by tpartner.
The topic has been locked.
- lglobig
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
4 years 9 months ago #186517
by lglobig
Replied by lglobig on topic Time limit for question groups
I'd like to implement a timer (3 mins) for the question group. So I have used a "hidden question" to do that. However, I would ideally like the timer to be visible all the time while participants are solving the questions in that question group.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10103
- Thank you received: 3591
4 years 9 months ago #186518
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Time limit for question groups
What question type did you use for the timer? Can you attach a small sample survey (.lss file) containing only the relevant questions?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.