Check out the LimeSurvey source code on GitHub!

Display a specific number of random questions from a set of questions.

More
3 years 3 weeks ago - 3 years 3 weeks ago #104024 by djven_om
Hi everybody,
I have a question.
Is it possible to display randomly a specific number of questions from a set of question.
For example to display 5 random questions from a set of 10 in an assessment?

thanks in advance
Last Edit: 3 years 3 weeks ago by djven_om.

Please Log in to join the conversation.

More
3 years 3 weeks ago - 3 years 3 weeks ago #104067 by DenisChenu
Hi,

You can use :
- Same randomization group name for the 10 question
- EM relevance equation to sum(Q2.relevanceStatus,Q3.relevanceStatus ... Q10.relevanceStatus)<=4 for Q1 (remove Q2 and add Q1 for Q2 etc ..)

See attached survey for an exemple (2 on 4).

File Attachment:

File Name: limesurvey...ween.lss
File Size:15 KB

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
Attachments:
Last Edit: 3 years 3 weeks ago by DenisChenu.

Please Log in to join the conversation.

More
3 years 3 weeks ago #104081 by djven_om

DenisChenu wrote: Hi,

You can use :
- Same randomization group name for the 10 question
- EM relevance equation to sum(Q2.relevanceStatus,Q3.relevanceStatus ... Q10.relevanceStatus)<=4 for Q1 (remove Q2 and add Q1 for Q2 etc ..)

See attached survey for an exemple (2 on 4).

File Attachment:

File Name: limesurvey...ween.lss
File Size:15 KB


Hi, when i try to import the survey i get this error message:
Property "Survey.questionindex" is not defined

What am i doing wrong?

Thank you for your time

Please Log in to join the conversation.

More
3 years 3 weeks ago #104082 by DenisChenu
It's noty you ... it's me .. and LS 2.05 version.

Upload a new lss file 2.00 compatible

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
Attachments:
The following user(s) said Thank You: Ben_V, djven_om

Please Log in to join the conversation.

More
3 years 3 weeks ago #104086 by djven_om
Thank you for your time :)

Please Log in to join the conversation.

More
3 years 3 weeks ago #104092 by tpartner
Great tip Denis!

I have added a sample survey to the docs - manual.limesurvey.org/Expression_Manager..._of_the_questions.29

.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DenisChenu, Ben_V

Please Log in to join the conversation.

More
3 years 3 weeks ago #104101 by MikeConom
Nice Job Denis

Please Log in to join the conversation.

More
3 years 3 weeks ago #104150 by DenisChenu

tpartner wrote: Great tip Denis!

I have added a sample survey to the docs - manual.limesurvey.org/Expression_Manager..._of_the_questions.29

.

Thanks !

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form