- Posts: 11
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
timer
- benshuo
- Topic Author
- Offline
- New Member
Less
More
3 years 5 months ago #207652
by benshuo
timer was created by benshuo
Dear all,
I want to use LimeSurvey to test whether my platform is useful, so I insert the web link in it. To make sure participants really use it before answer the questions, I would like to set up a timer. For example, they have to view the platform for at least 5 minutes, then there will be a warning to let users choose to continue to view the platform or back to the questions. I view some experience that the "time_limit" function can achieve the goal. However, I didn't find where it is. Is it a button or do I need to code? I'd appreciate it that someone can help me. I attach my file, the link is in front of part 3. Thanks.
Benshuo Wang
I want to use LimeSurvey to test whether my platform is useful, so I insert the web link in it. To make sure participants really use it before answer the questions, I would like to set up a timer. For example, they have to view the platform for at least 5 minutes, then there will be a warning to let users choose to continue to view the platform or back to the questions. I view some experience that the "time_limit" function can achieve the goal. However, I didn't find where it is. Is it a button or do I need to code? I'd appreciate it that someone can help me. I attach my file, the link is in front of part 3. Thanks.
Benshuo Wang
Attachments:
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12888
- Thank you received: 3965
3 years 5 months ago #207675
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic timer
How do you imagine this to work?
You open your web page with a link and target="_blank".
So I think you are not able to avoid the closing of this (different) page from inside LimeSurvey.
If you add it as an IFrame in a question of type "text display" and a separate group this might work.
<iframe allowfullscreen="" frameborder="0" height="800" src="https://your page.nl/public/index.php/" width="100%">
Add this javascript snippet
It will hide the submit button for 5 minutes = 300000milliseconds.
But there are other things.
Is there a special reason that you force your respondents to scroll and scroll and scroll?
The majority of the questions in parts 2-4 you can replace by some array questions.
But - of course - up to you.
Joffm
Please, if you send a lss export, include only the relevant questions (not 105).
You open your web page with a link and target="_blank".
So I think you are not able to avoid the closing of this (different) page from inside LimeSurvey.
If you add it as an IFrame in a question of type "text display" and a separate group this might work.
<iframe allowfullscreen="" frameborder="0" height="800" src="https://your page.nl/public/index.php/" width="100%">
Add this javascript snippet
Code:
<script type="text/javascript" charset="utf-8"> $(document).ready(function(){ $('#ls-button-submit').hide(); setTimeout(function () { $('#ls-button-submit').show(); }, 300000); }); </script>
But there are other things.
Is there a special reason that you force your respondents to scroll and scroll and scroll?
The majority of the questions in parts 2-4 you can replace by some array questions.
But - of course - up to you.
Joffm
Please, if you send a lss export, include only the relevant questions (not 105).
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- benshuo
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 0
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12888
- Thank you received: 3965
3 years 5 months ago #207686
by Joffm
2. You do not see a timer because there is no.
You hide the "Next"-button for a certain time.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic timer
1. You have to create a new group before "Part 3" with one question of type "text display". Here you add the IFrame and the script.If you add it as an IFrame in a question of type "text display" and a separate group this might work.
2. You do not see a timer because there is no.
You hide the "Next"-button for a certain time.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.