- Posts: 3
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Randomely display x question out of y given questions
- MrHappyAndCo
- Topic Author
- Offline
- New Member
Less
More
8 years 1 month ago #132962
by MrHappyAndCo
Randomely display x question out of y given questions was created by MrHappyAndCo
I'm currently trying to design a survey where 10 out of 100 questions (which are within a question group) are displayed randomly to a respondent.
I know that this was discussed before and I went through the whole forum searching for a feasible method to achieve this. In the manual I found this solution:
manual.limesurvey.org/Expression_Manager..._of_the_questions.29
While this is fine if you only have 10 questions, for 100 questions this is a whole other story. Before writing a script generating this formula and pasting it for each of the 100 questions i was wondering if there was a faster way?
A better solution would really help me out as it would safe me a lot of work!
Thanks in advance!
(This is my first time using LimeSurvey)
I know that this was discussed before and I went through the whole forum searching for a feasible method to achieve this. In the manual I found this solution:
manual.limesurvey.org/Expression_Manager..._of_the_questions.29
While this is fine if you only have 10 questions, for 100 questions this is a whole other story. Before writing a script generating this formula and pasting it for each of the 100 questions i was wondering if there was a faster way?
A better solution would really help me out as it would safe me a lot of work!
Thanks in advance!
(This is my first time using LimeSurvey)
The topic has been locked.
- MrHappyAndCo
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
8 years 1 month ago #133212
by MrHappyAndCo
Replied by MrHappyAndCo on topic Randomely display x question out of y given questions
No one ?
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
8 years 1 month ago #133224
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Randomely display x question out of y given questions
No faster way.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3593
8 years 1 month ago - 8 years 1 month ago #133266
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Randomely display x question out of y given questions
I suppose if the survey is in "group-by-group" mode, you could use JavaScript to hide all but the first 10 questions.
Of course, if the questions are mandatory you would also need to add hidden "N/A" options and have the script toggle those in the hidden questions.
The script details would vary depending on the LS version, template and question types but searching the forum should yield many tips.
Of course, if the questions are mandatory you would also need to add hidden "N/A" options and have the script toggle those in the hidden questions.
The script details would vary depending on the LS version, template and question types but searching the forum should yield many tips.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 8 years 1 month ago by tpartner.
The topic has been locked.
- first
- Offline
- Elite Member
Less
More
- Posts: 227
- Thank you received: 36
8 years 3 weeks ago #133963
by first
Survey Designer and Programmer
Replied by first on topic Randomely display x question out of y given questions
or may be something like this
manual.limesurvey.org/Workarounds:_Surve...of_Y_question_groups
manual.limesurvey.org/Workarounds:_Surve...of_Y_question_groups
Survey Designer and Programmer
The topic has been locked.
- DenisChenu
- Away
- LimeSurvey Community Team
Less
More
- Posts: 13647
- Thank you received: 2491
8 years 3 weeks ago #133978
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Randomely display x question out of y given questions
For such usage (complex formula in a lot of question) usage bof TSV import/export can be really good.
Denis
Denis
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.