Submitting answer after time-limit

Plus d'informations
il y a 2 mois 1 semaine #184420 par Janurson
Hi,

Perhaps someone here could help me: I'd like to have a visible countdown timer for my question that also allows the answer to be submitted after the countdown has ended. I've understood that this could be done in LimeSurvey but I'm not sure how exactly.

Right now I have a question group with 2 questions: one with a slider for providing the answer and another long free text -type question with a visible countdown timer and a hidden input field (the latter question is acting as timer for this question group - you can't have both a slider and a timer in same question).

Essentially, what I'm looking for could perhaps be a visible count-down timer without any action after time-limit.

Connexion ou Créer un compte pour participer à la conversation.

LimeSurvey Partners
Plus d'informations
il y a 2 mois 1 semaine #184440 par holch
Réponse de holch sur le sujet Submitting answer after time-limit
I don't think this is possible out of the box:
manual.limesurvey.org/QS:Time_limit

What you are looking for is not a time limit, but rather just a counter. Because you don't want the timer to have any effect.

I guess you probably could create a timer with Javascript and include it into your question, as when the timer runs out, nothing will happen.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 mois 6 jours #184577 par Janurson
Réponse de Janurson sur le sujet Submitting answer after time-limit
Thank you,

Anyone having a working example of this and would also like to share that would be much appreciated!

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 mois 6 jours #184587 par DenisChenu
Alternative : use another question with "disable only" with timer.
This disable only the extra question (and you can hide the answer part)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand .
An error happen ? Before make a new topic : remind the Debug mode .
Les utilisateur(s) suivant ont remercié: holch, Janurson

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 mois 6 jours #184602 par Janurson
Réponse de Janurson sur le sujet Submitting answer after time-limit
Thanks! That's such a simple solution, I'm wondering how I even got confused by this in the first place.

If one wants to use Javascript for this kind of problem, I found this to be very helpful.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 mois 2 semaines #185205 par surveySn
Réponse de surveySn sur le sujet Submitting answer after time-limit
<div> next button <span id="timer1">20s <span> enable </span></span> <script>
window.onload = function(){
var sec = 19;
// Delay time - need to be modified - 1
setInterval(function(){

document.getElementById("timer1").innerHTML = "wait" +sec +" s.";
sec--;
if(sec < 0){
document.getElementById("timer1").innerHTML = 'Enabled。';
}
},1000);
}
</script> <script type="text/javascript" charset="utf-8">

// Delay time
var delayTime = 20;

$(document).on('ready pjax:scriptcomplete',function(){
$('#ls-button-submit').prop('disabled', true);
setTimeout(function() {
$('#ls-button-submit').prop('disabled', false);
}, delayTime*1000);
});
</script></div>

Connexion ou Créer un compte pour participer à la conversation.

Commencez dès maintenant !

Créez simplement un compte et commencez à utiliser LimeSurvey dès aujourd'hui.

Inscrivez-vous maintenant

Inscrivez-vous à notre Newsletter!