Welcome to the LimeSurvey Community Forum

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

Matrix question mandatory but not implying one answer per row

  • avirgolino
  • avirgolino's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 weeks 1 day ago #265607 by avirgolino
Please help us help you and fill where relevant:
LimeSurvey version: 6.5.14
Own server or LimeSurvey Cloud: LimeSurvey Cloud
Survey theme/template: Fruity
==================
I am creating a survey with several matrix questions with dropdown answer options. The response to the question should be mandatory but it should not be mandatory to answer all rows and columns. Is this possible? How?

Thank you,
Ana

 

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 weeks 1 day ago #265608 by Joffm
Hi, Ana,
is this a question of type "array(text)" with inserted dropdowns by javascript? Or what is it?
An array (dual scale) with dropdown layout?

but it should not be mandatory to answer all rows and columns

So the question can't be set to "mandatory".

The response to the question should be mandatory

Does this mean that at least one cell has to be answered?

This you have to do by "question validation equation".
Something like "count(self)>0".

But more after you send the lss export of this part of your survey.

Joffm

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

Please Log in to join the conversation.

  • avirgolino
  • avirgolino's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 weeks 6 days ago #265652 by avirgolino
Dear Joffm,

Thank you for your reply. Please find attached the question.

Best,
Ana

File Attachment:

File Name: limesurvey...6138.lsq
File Size:21 KB

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 weeks 6 days ago #265653 by Joffm
Hi,

after you send the lss export

We always ask for lss exports, neither lsq nor lsg.

And did you enter the validation equation?

Joffm

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

Please Log in to join the conversation.

  • avirgolino
  • avirgolino's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 days 3 hours ago #265899 by avirgolino
Hi. Here is the lss export. I did include the question validation equation but it does not work...

File Attachment:

File Name: limesurvey...1212.lss
File Size:128 KB

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 days 2 hours ago #265900 by Joffm
Hi,
1. you missed the validation tip




Well, I doubt that this  you consider as a correct answer (one cell of the entire array is answered.
But as you wrote

it should not be mandatory to answer all rows and columns.


2. Instead of setting this condition G2Q00001.NAOK == 1 (which is sufficient)  on each question of the group you'd better set in on group level

3. What regular expression is this? 
!G3Q00003{any=[G3Q00003-1,G3Q00003-2,G3Q00003-3,G3Q00003-4,G3Q00003-5,G3Q00003-6,G3Q00003-7]}

Joffm

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

Please Log in to join the conversation.

  • avirgolino
  • avirgolino's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 days 1 hour ago #265901 by avirgolino
Hi again!
Thank you for your reply.
1. Ok. It is a good suggestion to add the tip
2. I'm sorry. I did not understand what am I doing wrong with the validation equation
3. The expression must have been inherited. I deleted it

Thanks!

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 days 16 hours ago #265914 by Joffm

what am I doing wrong with the validation equation

Nothing. I only wrote that I do not think that an answer as I showed in the screenshot should be a valid answer of this question.

 

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

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose