Welcome to the LimeSurvey Community Forum

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

Maximise and minimise choice 3 rows out of 7

More
13 years 5 months ago #76789 by PeterK01
Hello,

In my array I would like to maximise and minimise 3 selected rows in total and 1 column per row. See the figure. Can this be done in Limeservice ?
I am an unexperienced user and not a programmer.

Thanks.
Peter
The topic has been locked.
More
13 years 5 months ago #76795 by tpartner
You can use an array question with "Maximum answers" set to 3 - docs.limesurvey.org/Advanced+question+se...meSurvey#max_answers


Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: PeterK01
The topic has been locked.
More
13 years 5 months ago #76827 by PeterK01
Thank you Tony,
Now I set the question to a minimum of 3 and a maximum of 3 and so far it works.
The problem that comes up now is that once you have made a choice and want to undo it, its not going. So in that case it counts for the maximum of three.

If this can be made working I have 2 extra questions:
1 is it possible to maximise and minimise that in each row 1 answer is choosen ?
2 The min and max item is as far is a understand only available in version 1.92. I am using Limeservice which has version 1.91 Maybe for an other topic ?
Thanks,
Peter
The topic has been locked.
More
13 years 5 months ago #76858 by tpartner

The problem that comes up now is that once you have made a choice and want to undo it, its not going.

This is true with any radio question. If you want the ability to uncheck, you will need to use an array-numbers question with the checkbox layout.

is it possible to maximise and minimise that in each row 1 answer is choosen ?

A radio array only allows one answer per row. If you use the checkbox option mentioned above, you will need to use JavaScript to limit one answer per row.

I am using Limeservice which has version 1.91

Then you will need to use JavaScript.

Attach a small sample survey with the array-numbers/checkbox question question and I'll give a little script to:
1) Limit to one answer per row
2) Limit to 3 rows answered
3) Require that 3 rows are answerd

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: PeterK01
The topic has been locked.
More
10 years 11 months ago #112047 by PeterK01
Good morning Tony,
My apologies for my non reaction on your offer. I was abroad for a long time. Thanks for your reaction and offer. I have to study now all the changes and new possibilities of Limesurvey. It looks good so far.
Best regards, Peter
The topic has been locked.
More
10 years 11 months ago #112058 by holch
And you should really think about a upgrade. 1.91 is quite old and since then LS has advanced quite a bit and also a lot of bugs have been solved.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The following user(s) said Thank You: PeterK01
The topic has been locked.
More
10 years 11 months ago #112069 by PeterK01
Hello Holch, thanks for your advice. I was not here for a long time. Now I am using the Limeservice and building seriously my first survey.
Have a nice day, Regards, Peter
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose