Welcome to the LimeSurvey Community Forum

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

randomization and question by question

More
2 years 9 months ago - 2 years 9 months ago #201064 by FSoave
Hello, I realized I have a bit of complicated structure for my survey and I'm not sure what's the best way to proceed.
Here's the structure:

1) Welcome page (default welcome)
2) Consent page (text only)
3) Demographic (5 array questions)
4) Core (video -> slider, details below)
5) Additional feedback (1 question)

The problem is with 4) Core because I need to show 40 videos (on youtube) and after each of them display a slider for the task. So basically I have 40 pairs of <video -> slider>

The 2 big issues are:
1) I'd like to have a timer when I show the video so the user don't just skip to the slider immediately but is somehow "forced" to stay on the video page for at least few seconds
2) these 40 pairs should be randomized for each user doing the survey

Minro thing (if possible) would be that the 3) Demographic questions were on the same page

Not sure if there's an easy solution and what's best?

Thanks a lot!
Last edit: 2 years 9 months ago by FSoave.
The topic has been locked.
More
2 years 9 months ago #201065 by holch
This all sounds pretty doable.

I would use "group by group" display.
1. and 2. are standard, so I think we can skip that.
3. Then I would create one group for demographics, put all these into the same group.
4. I would create 40 groups, each containing 1 video (probably best as a text display question) and one slider. I remember that there is a solution to block the submit button until a video is finished or for a certain time (you should search the forum for that). Ideally I would hide both, the slider questions AND the 'next' button until the video is over.
You can put the same Code into the field "Randomization group" for each of the 40 groups (on question group/page level, not on question level!!!) and the combinations of video and slider will rotate between the 40 possible positions.
5. one group for the aditional feedback.

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.
More
2 years 9 months ago - 2 years 9 months ago #201155 by FSoave
Hello and thanks!
I've just found a recent solution to autoplay video and hide next button till the end of the video

I have a question, assuming I have 40 groups made of 2 questions (video + slider) as we just said
For each group, what would work very well would be to hide the video, once it has finished playback, and then display the slider (along with the next button).

In the previous link I have that code to do something similar but because I want to act on both video and slider within the same js script..I'm not clear where should I put that code? In the question or in the group?

Also I was checking the docs to understand how to refer to the slider in my js code but it seems quite messy (not even clear if I have to work with espressionscript or if it's a completely different thing? )

does each slider have an ID that I can use in js/jquery? if so where is it/how do I set it?

Thanks!
Last edit: 2 years 9 months ago by FSoave.
The topic has been locked.
More
2 years 9 months ago #201156 by holch
If you want the video disappear, why not just show your survey Question by question? Then you don't have to worry about hiding the slider at first and then hide the video and show the slider. You would just have to block the "next" button for the video until it ends, then you can move to the next page where the slider is.

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.
More
2 years 9 months ago #201157 by FSoave
but then this messes up with the initial group I have (demographic) + how would I randomise each video (keeping track of which slider correspond to which video)?
The topic has been locked.
More
2 years 9 months ago #201158 by holch
If you keep the Video and the Slider in the same group and randomize the groups, there would be no problem, they are still joined together.

And yes, you could not show your 5 demographics questions on the same page, because unfortunately we do not have a difference between logical question groups and visual question groups (pages) at the moment, a concept that I am advocating for quite some time now, but the developers seem not to understand it and what advantages it could bring to separate the question groups from the display of questions on the same page. Feel free to leave a comment: bugs.limesurvey.org/view.php?id=9416

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.

Lime-years ahead

Online-surveys for every purse and purpose