Welcome to the LimeSurvey Community Forum

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

Mandatory and Relevance

  • phinpope
  • phinpope's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 5 months ago #217174 by phinpope
Mandatory and Relevance was created by phinpope
Hi

I have used LS for a while to do plain vanilla "straight through" Q1-10 surveys. I am setting one up at the moment which has Relevance switch so Q1_A1 = Yes , don't ask questions Q2-Q5, but start at Q6... and if Q1_A2 = Yes then Q6-Q9, before both sections end up at Q10... all that is fine except that I am getting a "You have not filled out mandatory questions" alert when jumping to Q6 because Q2 is mandatory... is there a magic expression to supress the mandatory alert or have I misunderstood the setup?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #217178 by tpartner
Replied by tpartner on topic Mandatory and Relevance
That should work as you intend.

What is your LimeSurvey version?

Can you attach a sample survey (.lss file)?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • phinpope
  • phinpope's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 5 months ago #217198 by phinpope
Replied by phinpope on topic Mandatory and Relevance
Thanks for your response.

LS v3.25.18

Attached LSS file
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #217202 by Joffm
Replied by Joffm on topic Mandatory and Relevance
Hi,
unfortunately I did not see an issue.
Both conditions work fine

But two things:
What is this in Q1?
 

And why are all questions multiple questions, that I am able to select "Yes" and "no" at the same time?

Joffm
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • phinpope
  • phinpope's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 5 months ago #217205 by phinpope
Replied by phinpope on topic Mandatory and Relevance
Thanks, attached couple of screenshots to show the issue.

The question setter didn't get the difference between multiple choice and radio... but that shouldn't cause the problem should it? 

the NAOK I have not noticed before, have removed to check but no change
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago - 3 years 5 months ago #217207 by Joffm
Replied by Joffm on topic Mandatory and Relevance
And what do you see, when you click "Close" in the error message?
Here my result: (The "DK" and "NA" checkboxes in open answers are there because I use the plugin "checkBoxForText")


Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 years 5 months ago by Joffm.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #217208 by holch
Replied by holch on topic Mandatory and Relevance
Have you tried with a standard template/theme for the survey? Seems like you are using a custom template/theme.

I got an error message, but because I did not rank all items under "What did you like about the website?"

Not sure why, because it says "please rank at most 4 items" and i ranked 2, so this should be no problem according to your instructions, but it is a problem.

Same for the other ranking question.

But after correcting this, I could go through without an error message.

Where does this error message appear to you? After submitting the second page?

How about importing your file that you have send us as a new survey and test that again. If this works, then something is wrong in that specific survey. If it still doesn't work right, then there seems to be something wrong with your installation (or theme,/template).

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

The following user(s) said Thank You: phinpope
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago - 3 years 5 months ago #217211 by holch
Replied by holch on topic Mandatory and Relevance
Ha, Joffm, learned something new today! You don't need to grab and drop the items for a ranking question, but can just click them in the right order...

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

Last edit: 3 years 5 months ago by holch.
The following user(s) said Thank You: phinpope
The topic has been locked.
  • phinpope
  • phinpope's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 5 months ago #217212 by phinpope
Replied by phinpope on topic Mandatory and Relevance
I get the group questions, it is just that "you have skipped mandatory" modal error, everything else works from there on in. poorly defined questions in places but it all works.
The topic has been locked.
  • phinpope
  • phinpope's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 5 months ago #217213 by phinpope
Replied by phinpope on topic Mandatory and Relevance
I will try that... the custom theme is CSS only, no JS changes and some template changes for layout...
The topic has been locked.
  • phinpope
  • phinpope's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 4 months ago #217528 by phinpope
Replied by phinpope on topic Mandatory and Relevance
Yes, I had obviously done something in one of the templates that was firing the modal appearance, re-cloned vanilla and went through the same process of editing and everything is working.

Sorry for wasting your time with my own introduced errors.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose