Welcome to the LimeSurvey Community Forum

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

time limit design question

  • RitaShen
  • RitaShen's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
4 years 11 months ago #183066 by RitaShen
time limit design question was created by RitaShen
hi there,
I have a question about time limit,

my survey has two question,
Q1 is text display, it will shows a picture,
Q2 is a single question,

the respondents needs to read Q1 at least 10 seconds, and than answer Q2.
can we do that Q1 and Q2 in the same page, Q2 will not appear at first, but after 10 seconds, Q2 will appear

The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 11 months ago #183074 by Joffm
Replied by Joffm on topic time limit design question
Hi,

give the second question a css class, like "xyz".

In the first question add:
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
// Hide the question container
$(".xyz.question-container").hide();

// Show the container after n milliseconds
setTimeout(function () {
$(".xyz.question-container").show();
}, 10000);
});
</script>

Best regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: RitaShen, cdorin
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose