Welcome to the LimeSurvey Community Forum

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

How to exclude mandatory for a part question?

  • adrotto
  • adrotto's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 5 months ago #175612 by adrotto
Hi everyone,

I was wondering if it is possible to exlude the mandatory-setting for one part of the question even though in general the answers are mandatory.

In that case for one part question "others" the mandatory-setting should be excluded, because it is not necessary to answer it. In the attached Picture you can see it as the last yellow marked option in the question.

Does there exist a html-code which I can put into the edit box of this part question?

Thanks in advance for your answers. :)
The topic has been locked.
More
5 years 5 months ago #175613 by jelo
Looks like a very old version of LimeSurvey. Not possible without workarounds. To get suitable workarounds you should provide the exact version of LimeSurvey.

First idea for a workaround: Use the validation equation instead of mandatory.
The question options should provide a field for such a validation.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • adrotto
  • adrotto's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 5 months ago #175614 by adrotto
Replied by adrotto on topic How to exclude mandatory for a part question?
I use Version 2.05+ Build 140821 as a Student license


Do I can change the validation equation in the general settings of the question? What kind of equation I need to put in?

Because the settings of the part time questions are limited (see attached Picture), that's why I asked for the html-code as a Workaround. :)
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 5 months ago - 5 years 5 months ago #175615 by Joffm
Hi,

I tested in 2.06. I think it will work in your version. EM was introduced in version 1.92.
What is a "student licence"? Is it an university installation? There might be some right restrictions.

To answer your question:

What kind of equation I need to put in?

Well, you have to check, that either the number of answers is 6 (and the "Other" is empty) or the number of answers is 7.

Set the question to "not mandatory" and the question validation to:
(count(self)==6 and count(self.sq_SQ007)==0) or count(self)==7

And add a appealing tip; so it is fine.


On the other side I never know why people want to have an "Other"-option in a matrix.
In my opinion respondents usually do not select "Others" and rate it "seldom" or "never".
So you get a bias and means are not comparable.
And furthermore you do not know, which "Others".
What is the meaning of "54% look for other informations daily"

Therefore I prefer a following open question like "Are there other informations ... which you look for ... frequently?"

So after the pretest you might get some "other informations" which are worth to be included as a precode in the matrix.

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 5 years 5 months ago by Joffm.
The topic has been locked.
  • adrotto
  • adrotto's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 5 months ago #175692 by adrotto
Replied by adrotto on topic How to exclude mandatory for a part question?
Thanks a lot!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose