Welcome to the LimeSurvey Community Forum

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

randomization and question by question

  • FSoave
  • FSoave's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 10 months ago - 3 years 10 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: 3 years 10 months ago by FSoave.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #201065 by holch
Replied by holch on topic randomization and question by question
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.
  • FSoave
  • FSoave's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 10 months ago - 3 years 10 months ago #201155 by FSoave
Replied by FSoave on topic randomization and question by question
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: 3 years 10 months ago by FSoave.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #201156 by holch
Replied by holch on topic randomization and question by question
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.
  • FSoave
  • FSoave's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 10 months ago #201157 by FSoave
Replied by FSoave on topic randomization and question by question
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.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #201158 by holch
Replied by holch on topic randomization and question by question
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.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #201159 by holch
Replied by holch on topic randomization and question by question
Of course it is a trade off to show the 5 demographic questions one by one instead of on the same page, but it will probably save you some custom code (and thus the possibility of errors) for the 40 video+slider combinations.

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.
  • FSoave
  • FSoave's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 10 months ago #201160 by FSoave
Replied by FSoave on topic randomization and question by question
thanks..I've actually thought it through and I think I really need those deomgraphics to be on the same page. I mean, everyone would get so bored byt scrolling pages with 1 single question that they will probably quit even before reaching the actual survey. So frustrating. (I've left comment in the link you gave, thanks!).

Back to the previous step..is there a way to target (maybe through an id?) the slider in js? I've managed to target the whole block (which is good) with something like $('#question115') where the number 115 is different for each question..but I'm wondering if there's another better way?

Thanks!
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #201161 by holch
Replied by holch on topic randomization and question by question
I don't really agree. Actually in online research the question by question approach has become a defacto standard (with certain exceptions).

My experience is, that the more questions you have on your page, the higher the chance that people drop out.

If it is not very, very short questions, I would generally recommend to have them on separate pages.

In my former job we were running thousands of surveys and generally we ran ALL questions by questions, with very, very few exceptions. I think the risk is a lot higher for your respondents to get fed up with your 40 videos and slider questions than the 5 demographic questions, which can generally be responded super quick.

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.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #201162 by holch
Replied by holch on topic randomization and question by question

Back to the previous step..is there a way to target (maybe through an id?) the slider in js? I've managed to target the whole block (which is good) with something like $('#question115') where the number 115 is different for each question..but I'm wondering if there's another better way?

I am no expert in JS, so you need to wait for someone like Tpartner to show up.

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.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #201166 by Joffm
Replied by Joffm on topic randomization and question by question
Hi,

I mean, everyone would get so bored byt scrolling pages with 1 single question


I fully agree to @holch.
I'd get bored much more if I had to scroll a page.
And after the respondent had to look at all the videos, a few more questions (and I hope you tell them that there are "just five more question to answer" in a text display) won't make them stop.

My question is:
You did not show us your survey.
So @holch and now I are a bit guessing how it really looks like.

In such cases you should attach a lss export.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • FSoave
  • FSoave's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 10 months ago #201168 by FSoave
Replied by FSoave on topic randomization and question by question
thanks, that's interesting feedback there! So you'd prefer this version to this one ?
I find it so frustrating that I have to answer (left) and then move all the way to the right to click the next button for each question on a single page :blink:
Perhaps there's a way to automatically trigger the next page when an answer is selected?
Anyway, please find the lss attached. there are 2 groups.
It works exactly as I would like it too. the only (minor) issue is that I need to target the sliders individually by checking what's the id of the block through the inspector..it works..but doesn't sound very robust..it'd be perfect if there was a way to have an id for the sliders (eg slider1, slider2).

Thanks a lot!!

File Attachment:

File Name: limesurvey...7621.lss
File Size:26 KB
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose