Welcome to the LimeSurvey Community Forum

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

multi-option question "checkbox with radio type"

  • kapil_codefire
  • kapil_codefire's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 7 months ago #187878 by kapil_codefire
multi-option question "checkbox with radio type" was created by kapil_codefire
its possible in one question have checkbox with radio type, when I click on radio type option then all checkbox selected option removed?

Example:
1. option1 (checkbox type)
2. option2 (checkbox type)
3. option2 (checkbox type)
4. option3 (checkbox type)
5. option5 (checkbox type)
6. option6 (radio type)
7. option7 (radio type)
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 7 months ago #187883 by tpartner
I don't think that will work as you cannot de-select a radio input. That's why checkboxes are used.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • kapil_codefire
  • kapil_codefire's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 7 months ago #187884 by kapil_codefire
Replied by kapil_codefire on topic multi-option question "checkbox with radio type"
Ok, thank you for reply

I trying this with javascript like all options checkbox type and when we click on option6 & option7 then remove all checked option
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 7 months ago #187886 by tpartner
What question type? A multiple-choice or an array-checkboxes?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
4 years 7 months ago #187887 by jelo

tpartner wrote: I don't think that will work as you cannot de-select a radio input.

Some survey tools override this browser behavior via JavaScript to allow an unanswered status.

But I don't understand the threadstarter post. Why two radio buttons? Perhaps the threadstarter is looking for "exclusive option"?

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • kapil_codefire
  • kapil_codefire's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 7 months ago #187888 by kapil_codefire
Replied by kapil_codefire on topic multi-option question "checkbox with radio type"
multiple-choice question type
The topic has been locked.
More
4 years 7 months ago #187890 by jelo

kapil_codefire wrote: multiple-choice question type

We know that. The question is, why you want a radio button inside the multiple-choice question.

Perhaps you're just looking for an exclusive option?
manual.limesurvey.org/Question_type_-_Mu...8exclusive_option.29

If not, LimeSurvey isn't offering for what you're asking out of the box.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 7 months ago - 4 years 7 months ago #187900 by Joffm

when I click on radio type option then all checkbox selected option removed?

This is exactly the behaviour of the exclusive option.

If you read the tooltips, after having read the manual, at least the link jelo provided,
you see this


And here thequestion working:






Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 4 years 7 months ago by Joffm.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 7 months ago - 4 years 7 months ago #187904 by DenisChenu
Replied by DenisChenu on topic multi-option question "checkbox with radio type"

Joffm wrote:

when I click on radio type option then all checkbox selected option removed?

This is exactly the behaviour of the exclusive option.

This behaviour was updated : i mean : set as "disable" was always the case.

But when user click on exclusive, before 3.8 ([strike]unsure when[/strike]) : the checkbox still checked. Then if user uncheck the exclusive checkbox : he find all checkbox like before and in my opinion : it's the best solution.


See my comment here : github.com/LimeSurvey/LimeSurvey/commit/...mmitcomment-29166257

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 4 years 7 months ago by DenisChenu.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose