Welcome to the LimeSurvey Community Forum

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

Delayed question display

  • hamstr
  • hamstr's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 4 weeks ago #150950 by hamstr
Delayed question display was created by hamstr
Hi!

First of all, thank you so much for all the support offered in this forum. Your work is amazing!

I was wondering if there is any possibility to delay the display of a single question within a question group, using group for group display.

In particular, participants are presented an audio stimulus with a total duration of 60 seconds (embedded via autoplay in a Text Display question) and have to rate it on various dimensions using sliders (Multiple Numerical Input). Is there any way of hiding/deactivating the Multiple Numerical Input question for the first 30 seconds so that participants are only able to rate the stimulus after listening to the first half of it?

Thanks a lot,
Hannah
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 4 weeks ago #150982 by tpartner
Replied by tpartner on topic Delayed question display
Assuming there is no relevance/condition on the Multiple Numerical Input, set up your survey to use JavaScript and place the following script in the source of the question:

Code:
<script type="text/javascript" charset="utf-8">
  $(document).ready(function() { 
    $('#question{QID}').hide();
 
    setTimeout(function() {
      ('#question{QID}').fadeIn(300);
    }, 30000);    
    });  
</script>

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • hamstr
  • hamstr's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 3 weeks ago #151202 by hamstr
Replied by hamstr on topic Delayed question display
Thanks so much, it works perfectly fine!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose