secondary options random display

More
1 month 4 weeks ago - 1 month 4 weeks ago #222331 by surveySn
forums.limesurvey.org/forum/german-forum...ige-antworten#188743
manual.limesurvey.org/Workarounds:_Manip...estion_for_later_use

The two methods

Can random display be implemented?

 
Random display, but do not disturb the grouping.

Version 3.25.4 + 201215
Attachments:
Last edit: 1 month 4 weeks ago by surveySn.

Please Log in to join the conversation.

More
1 month 3 weeks ago #222335 by Joffm
Hi,
you know that this is one "multiple" questions with some checkboxes removed.
And LimeSurvey does not offer an option to "group" answer options or subquestions.

What I can show you is:

Create two "multiple" questions
Do not remove the checkboxes of certain subquestions but insert an additional header.
Because you referred to this link in the German part, you might be able to read German.
So have a look at my Tutorial 2, Chapter 2.2.
Both questions have the same "Randomization Group name"
In both questions set ""random order" to ON.
Now merge the two questions by adding the css classes "no-question" resp. "no-bottom"
To decide which question was first, use the property ".qseq"
You can insert the css classes by Expression Manager like
{if(Q1_SQ001.qseq==0,'no-bottom','no-question')}
If the question was the first add class "no-bottom" else "no-question"
And in the second question the same.
{if(Q2_SQ001.qseq==0,'no-bottom','no-question')}

You did not say how you want to use this.
Are participants only allowed to select subquestions of one of the two groups?
Then you have to validate.

Therefore I started with a question of type "text display" to display the question and the error message.
Followed by the two multiple questions.
 

 

And here the css classes:
.no-question{ border-top:0; }
.no-question .question-title-container{ display:none; }
.no-question .question-valid-container{ display:none; }
.no-question .answer-container {
    padding-top: 0em;
    padding-bottom: 0.5em;
}
.no-bottom{ border-bottom:0;margin-bottom:0; }
.no-bottom .answer-container {
    padding-bottom: 0em;
}
Either insert it into the "custom.css" or you may insert it into one of the questions - as I did in the "text display".

 

File Attachment:

File Name: limesurvey...8798.lss
File Size:23 KB


But to be honest:
In this case it is much better to prepend a single question "Which of these two options do you prefer?" and than show the according multiple question.

Joffm



 


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:
The following user(s) said Thank You: DenisChenu, surveySn

Please Log in to join the conversation.

More
1 month 3 weeks ago #222392 by surveySn
Thank you very much.

This method is only suitable for paging by group,

I need to create more than 100 groups

 

Please Log in to join the conversation.

More
1 month 3 weeks ago - 1 month 3 weeks ago #222393 by Joffm

I need to create more than 100 groups

And?  This is done i about half an hour.

Because of such solutions ( where you merge several questions into one) we often recommend to use the "group by group" mode with one question per group.
This way the look&feel is like "question by question", but you have still the option to show more than one question per page, or combine questions.

But you remember that I wrote

But to be honest:
In this case it is much better to prepend a single question "Which of these two options do you prefer?" and than show the according multiple question.

Joffm

 


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 1 month 3 weeks ago by Joffm.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now