Check out the LimeSurvey source code on GitHub!

Matrix with (conditional) comment

More
3 years 4 months ago #99368 by mfaber
Hi all,

i am designing a survey with a LOT of question organized in a YES/UNCERTAIN/NO - matrix.
Every now and then, I need the possibility of text to be added by the paricipant, when 'Yes' was chosen.

Like this (not the real questions, just a silly example):
What did you eat?
                 YES          Uncertain           No
Apples            O                O               O
Bananas           O                O               O
Fish              O                O               O 
   if yes, what kind: ______________________________
Broccoli          O                O               O
Meat              O                O               O
   if yes, what kind: ______________________________
[list goes on and on....]
At the moment, I break the matrix after each question where I need a comment field, add a short text question under the condition that 'yes' is chosen.
Continue the matrix in the next question and so on and so forth.

I wonder if there's a better (less cumbersome) way to program this sort of layout.

Any hint welcome!
M

Please Log in to join the conversation.

More
3 years 4 months ago #99369 by first
If your list is very long then it would be better if you ask "what kind:" on next page. If you are comfortable with this type of layout then I can guide you how you can do this.:)

Survey Designer and Programmer
"I always suggest to have a group by group display layout and create a seprate group for each question. This will be extra work but you will get flexiblity to create your question by using more than more lime survey question types."

Please Log in to join the conversation.

More
3 years 4 months ago #99387 by mfaber
Thanks for your reply and kind offer. If I understand you correctly, I would have one page with a long matrix question (quick copy/paste...Yeah!) and one page with a lot of "What kind..." and "Please specify..." questions.
That would indeed be easy to program but it's not practical for the participants in this case.

I had hoped for a "trick" to use the matrix question and still have all the comment-fields conditionally appear with the respective sub-question.

Maybe that's stuff for a new question type...(matrix with comment fields or one where different field types can be combined...)

Please Log in to join the conversation.

More
3 years 4 months ago #99392 by first
Please check out the attached Dummy. If it works for you.:)

File Attachment:

File Name: h310f98e_2...28-3.lss
File Size:20 KB

Survey Designer and Programmer
"I always suggest to have a group by group display layout and create a seprate group for each question. This will be extra work but you will get flexiblity to create your question by using more than more lime survey question types."
Attachments:

Please Log in to join the conversation.

More
3 years 4 months ago #99504 by mfaber
thanks for the suggestion but I am more looking for a solution to achieve the above shown layout.
i.e. give participants the possibility to specify/comment on items within a long matrix question.

Please Log in to join the conversation.

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