Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Piping 'Other' option/category from multiple choice using array filter

Re: Piping 'Other' option/category from multiple choice using array filter 1 year 11 months ago #84240

  • TMSWhite
  • TMSWhite's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 759
  • Thank you received: 82
  • Karma: 36
Personally, I'd vote to going back to the way 1.91+ worked. I have plenty of surveys where users want to check the other check-box, but do not be forced to specify any details. The changed implementation does not allow that.

The that caused the current behavior was made by Denis about a month ago.
The administrator has disabled public write access.

Re: Piping 'Other' option/category from multiple choice using array filter 1 year 11 months ago #84244

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4058
  • Thank you received: 742
  • Karma: 341
Yeah, or maybe have an option "Hide Other checkbox".
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Re: Piping 'Other' option/category from multiple choice using array filter 1 year 11 months ago #84276

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5300
  • Thank you received: 291
  • Karma: 247
TMSWhite wrote:
Personally, I'd vote to going back to the way 1.91+ worked. I have plenty of surveys where users want to check the other check-box, but do not be forced to specify any details. The changed implementation does not allow that.
This would also be my preferred solution as default behavior. Maybe we can then have a second behavior which is triggered by an advanced question setting.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: Piping 'Other' option/category from multiple choice using array filter 1 year 11 months ago #84296

  • gwiesner
  • gwiesner's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 5
  • Karma: 0
Dear Tony - many thanks for the prompt and detailed help. Worked like a charm. It wasn't immediately obvious what the question code was for my 'other' option but worked it out from the survey logic file.

Cheers,
Glen
The administrator has disabled public write access.

Re: Piping 'Other' option/category from multiple choice using array filter 1 year 6 months ago #91473

  • ChengF
  • ChengF's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 12
  • Karma: 0
Hi tpartner,

I encountered the same issue and I tried to use your solution. But the system does not let me use code "other" for Question 2. It gave me a error warning which is "Error: other is a reserved key word". I believe I am using 1.92 version. Any solution for that?

Thank you in advance!
The administrator has disabled public write access.

Re: Piping 'Other' option/category from multiple choice using array filter 1 year 6 months ago #91475

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4058
  • Thank you received: 742
  • Karma: 341
I have just tested the solution with the latest release of 1.92 and it allowed me to use "other" as a sub-question code in a multiple-numeric question and the filtering and piping worked.

Please update to the final release of 1.92 and retest.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Re: Piping 'Other' option/category from multiple choice using array filter 1 year 6 months ago #91476

  • ChengF
  • ChengF's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 12
  • Karma: 0
I just checked that our version is "LimeSurvey Version 2.00+ Build 121127".

I tested again it will let me put in code "Other" not "other". But if it is "Other" it looks like a new code has nothing to do with the one from previous question. Here are my screenshot.
step1-typeincodeother.PNG


step2-clickonsavechangesandthenwarningmessageshows.PNG
The administrator has disabled public write access.

Re: Piping 'Other' option/category from multiple choice using array filter 1 year 6 months ago #91511

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4058
  • Thank you received: 742
  • Karma: 341
Oh, yeah, in 2.0 you can't use that code which I still consider to be a bug. See this post for more discussion and a possible solution - www.limesurvey.org/en/forum/design-issue...-cascade-array#88753
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.144 seconds
Donation Image