Welcome to the LimeSurvey Community Forum

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

MANDATORY of QESTION has disappeared?

  • mikezhangsky
  • mikezhangsky's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 1 month ago - 7 years 1 month ago #159254 by mikezhangsky
MANDATORY of QESTION has disappeared? was created by mikezhangsky
I set a rank question . such like the attachments files :limesurvey_question_4793.lsq.zip

I set this question must been answered .

but when i start the survey ,i find i can skip this question .

limesurvey 2.5 templeate :default
Last edit: 7 years 1 month ago by mikezhangsky.
The topic has been locked.
  • mikezhangsky
  • mikezhangsky's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 1 month ago #159259 by mikezhangsky
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 1 month ago - 7 years 1 month ago #159260 by holch
Replied by holch on topic MANDATORY of QESTION has disappeared?
Looking at your question, you are actually not using a ranking question, but an array question, correct? This is important because we are talking about totall different question types here.

I imported your question into my installation and it works just fine. When you don't answer all 3 subquestions, you can't move on and a layer opens, stating that you must respond. See screenshot.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Last edit: 7 years 1 month ago by holch.
The topic has been locked.
  • mikezhangsky
  • mikezhangsky's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 1 month ago #159262 by mikezhangsky
Replied by mikezhangsky on topic MANDATORY of QESTION has disappeared?
yes , this type of questions is array. sorry for it .

From the url which i provide , i can skip this question .. I have set the MANDATORY of this question TRUE.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 1 month ago #159264 by holch
Replied by holch on topic MANDATORY of QESTION has disappeared?
So there must be something wrong with your installation. Is the template you are using 100% pure or has it been modified?

Try it with a stock template with no changes what so ever.

By the way: I am testing with the most up to date version of LS (Version 2.71.1+170927). What is your exact version? Seems like you are using a relatively old version. So this might be a problem in your version which has already been solved.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • mikezhangsky
  • mikezhangsky's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 1 month ago #159270 by mikezhangsky
Replied by mikezhangsky on topic MANDATORY of QESTION has disappeared?
thank you .
template is the default template. i have not changed it .
i will try the 2.71... thanks a lot for your reply.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
7 years 1 month ago #159279 by DenisChenu
Replied by DenisChenu on topic MANDATORY of QESTION has disappeared?
Don't export only the lsq, export whole survey : survey.weiguyun.com/index.php?r=survey/index&sid=544416&lang=en

Import it in demo.limesurvey.org and see if it's happen too. If it's happen : report the bug with the lss file join to the bug report.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
  • mikezhangsky
  • mikezhangsky's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 4 weeks ago #159354 by mikezhangsky
Replied by mikezhangsky on topic MANDATORY of QESTION has disappeared?
i find the problem ,

unique is not use for array question with dropdown,

the value in select option "please choose ……" is blank ,


and the blank value is also a value for question , and the system will think the questions has been answered.


My verison of Limesurvey is 2.51
Attachments:
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
7 years 4 weeks ago #159365 by DenisChenu
Replied by DenisChenu on topic MANDATORY of QESTION has disappeared?
In your screenshote value is not blank : it's a space … seems to be a bug in limesurvey …

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
  • mikezhangsky
  • mikezhangsky's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 4 weeks ago #159367 by mikezhangsky
Replied by mikezhangsky on topic MANDATORY of QESTION has disappeared?
I remove this space. it seems works..
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
7 years 4 weeks ago #159376 by DenisChenu
Replied by DenisChenu on topic MANDATORY of QESTION has disappeared?
Please can you confirm the issue ?
1. Use an array question type with dropdown
2. Using {unique(self)} break ?
3. Can you try using {count(self)} and see what happen (must count only selected value).

Maybe create a survey with 2 question : same choice, same subquestion but one with radio + one with dropdown.
Because unique work with dropdown.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
  • mikezhangsky
  • mikezhangsky's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 4 weeks ago #159378 by mikezhangsky
Replied by mikezhangsky on topic MANDATORY of QESTION has disappeared?
i use array question with dropdown,
when i use unique(self),i find i can skip this question without answer .

and
i use array question with radio, there is no problem , because i have 13 answer ,so i should need use dropdown.


i try use count(self) in question validation ,and find 3 questions (i set 3 subquestions )..

so . i think this " space " may be the problem ..

but i use verison 2.51
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose