Must Select 0 or 3 Multiple-Choice Questions Equation

More
3 years 3 weeks ago #107986 by loucarey62
loucarey62 created the topic: Must Select 0 or 3 Multiple-Choice Questions Equation
Hi All,

I'm trying to set a Question Validation Equation to test that Multiple Choice question has either 0 or 3 choices checked. The question is set to Mandatory=No and I'm using the following equation but, no mater how many choices I select or if I don't select any choices, I get the following message:

"One or more questions have not been answered in a valid manner. You cannot proceed until these answers are valid."

My Question Validation Tip is set to: "You must either select 3 choices or no choices.". Because I'm not seeing that message and because no matter how many choices I select or if I select none, I'm guessing my equation is invalid.

I've attached a PDF printout of the question edit page.


Any help with this would be greatly appreciated.

Lou

File Attachment:

File Name: SurveyMult...tion.pdf
File Size:258 KB
Attachments:

Please Log in to join the conversation.

More
3 years 3 weeks ago #107987 by holch
holch replied the topic: Must Select 0 or 3 Multiple-Choice Questions Equation
I am not sure about the equation. But I think one of your problems is, that you have set a maximum and a minimum number plus the equation. I think for the equation to work properly, you need to take out the minimum and maximum numbers. Because otherwise you have two error message crossing each other.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
3 years 3 weeks ago #107988 by loucarey62
loucarey62 replied the topic: Must Select 0 or 3 Multiple-Choice Questions Equation
Thanks Holch for your reply.

In the end, I do believe you're probably right about not setting the Minimum/Maximum values but, even after removing those settings, I'm still getting the same result.

Lou

Please Log in to join the conversation.

More
3 years 3 weeks ago #107989 by holch
holch replied the topic: Must Select 0 or 3 Multiple-Choice Questions Equation
Well, at least we have excluded one possible error. Now you just need to find out if your equation is correct. But there you probably have to wait for Tpartner or some other specialist on those matters.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now