Welcome to the LimeSurvey Community Forum

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

How to Apply the Filter on ArrayByCloumn Answer Option

More
3 weeks 12 hours ago - 3 weeks 12 hours ago #273288 by rajkumar_dms
(Write here your question/remark) Please help us help you and fill where relevant:
LimeSurvey version: [see right hand bottom of your LimeSurvey admin screen]
Own server or LimeSurvey Cloud:
Survey theme/template:
==================
Hello Team,

Good Day!!

I have 2 question one is multiple choice(Q1) and other is ArrayByColumn(Q2) ,the option selected in Q1 to be shown in Q2 as answer option and not selected are to be hide

Also attached the screenshot for the same

Could you help on this


 
Last edit: 3 weeks 12 hours ago by rajkumar_dms.

Please Log in to join the conversation.

More
3 weeks 8 hours ago #273291 by Joffm
How do you implement an array by column for this question?

In my opinion it's not usable for this.

Joffm 

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

More
3 weeks 5 hours ago #273299 by rajkumar_dms
I had make multiple arraybycolumn question type for each statement of M2 and then use custom java script to make the max diff layout

Do you have any suggestion regarding M2 please share with us

Please Log in to join the conversation.

More
3 weeks 5 hours ago #273300 by Joffm
What is a "multiple array by column" question?

Better you send a lss export of these two questions.

Joffm 

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

More
3 weeks 5 hours ago - 3 weeks 3 hours ago #273302 by rajkumar_dms
What is a "multiple array by column" question?- means i break into more than 1 question if i have statement A, B,C then i made the 3 question array by column question

I hope it clear also attached the lss file for the same 
Last edit: 3 weeks 3 hours ago by rajkumar_dms.

Please Log in to join the conversation.

More
2 weeks 6 days ago #273304 by Joffm
Hi,
this is somerhing quite different from your screenshot.

To follow your screenshot you can use several arrays by column merged by the css classes "no-question" and "no-bottom".
Add it to your custom.css
Code:
.no-question {
    border-top:0;
    margin-top: -10px;
}
.no-question .question-title-container,
.no-question .question-valid-container {
   display:none;
}
.no-bottom {
    border-bottom:0;
    margin-bottom:0;
}
.no-question .answer-container {
    padding-top: 0em;
    padding-bottom: 0.5em;
}    
.no-question .question-container {
    border: none !important;
    margin-top: -10px !important;
}    
.no-question2 .ls-heading {
    display:none;
}
.no-bottom .answer-container {
    padding-bottom: 0em;
}


And there is one validation for all arrays
unique(self) and unique(that.Q2b) and unique(that.Q2c) and ...

And as a first question I use a ranking. This is the easiest to select the five choices.
Just pipe the selected subquestions into the header {Q1_1.shown},...
 
 

File Attachment:

File Name: limesurvey...7643.lss
File Size:70.52 KB

But if you want to do it with separated questions, well
Again use a ranking question. 

By the way: Your "MaxDiff" script ist wrong; the function itself is missing.
What there is included is the script to determine different column widths.
I inserted the correct script and the correct way to make the column width to 15,70,15.
 
 

File Attachment:

File Name: limesurvey...97_J.lss
File Size:85.8 KB


Joffm
 

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

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose