Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Checkbox and radio button question

Checkbox and radio button question 5 years 10 months ago #55777

  • jjk
  • jjk's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
Hello,

I'd like to know if there's a way to mix radio button and checkboxes in one question?

For example:

Do you like fruits?

o Yes, I like them all
o Yes, I like some of them
x Apples
x Bananas
x Oranges
x Other
o No, I don't like them at all.


with checkboxes only selectable if the above radio button selected.

I'm aware of the possibility wich consist in using two separate question with conditions but I find it less elegant and clear.
I may myself not have been clear because english is not my mother tongue. Feel free to ask for clarification if you didn't get my point.

Thank you for your work on LS and for your answers.

JJK
Last Edit: 5 years 10 months ago by jjk.
The administrator has disabled public write access.

Checkbox and radio button question 5 years 10 months ago #55779

  • holch
  • holch's Avatar
  • Online
  • LimeSurvey Team
  • Posts: 5432
  • Thank you received: 810
  • Karma: 240
No, you can't mix radio buttons and checkboxes in one question.

However, you can make some checkboxes exclusive, which means if they are clicked no other checkbox can be clicked.

You can find this under advanced options of the question, the question attribute is called docs.limesurvey.org/Question+type+-+Mult...vey#Exclusive_option

It doesn't look like you want it too look, but technically it does what you want it to do. ;-)

(as far as I know, it is possible to have more than one of those exclusive options, but you will have to test it, because it is not written in the documentation, but I think I have done that already).
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | [url=https://manual.limesurvey.org/Workarounds[/url]

If you found this answer helpful and it saved you some time please consider a [url=https://donate.limesurvey.org[/url] to the...
The administrator has disabled public write access.

Checkbox and radio button question 5 years 10 months ago #55828

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6029
  • Thank you received: 373
  • Karma: 260
Mixing question types isn't possible. You have to re-arrange your survey.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"
The administrator has disabled public write access.
Time to create page: 0.588 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form