Bienvenue, Invité
Nom d'utilisateur : Mot de passe : Se souvenir de moi
  • Page :
  • 1
  • 2

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

Re: Piping 'Other' option/category from multiple choice using array filter il y a 2 ans 1 mois #84240

  • TMSWhite
  • Portrait de TMSWhite
  • Hors ligne
  • LimeSurvey Team
  • Messages : 759
  • Remerciements reçus 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.
L'administrateur a désactivé l'accès en écriture pour le public.

Re: Piping 'Other' option/category from multiple choice using array filter il y a 2 ans 1 mois #84244

  • tpartner
  • Portrait de tpartner
  • Hors ligne
  • LimeSurvey Team
  • Messages : 4206
  • Remerciements reçus 790
  • Karma: 360
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.
L'administrateur a désactivé l'accès en écriture pour le public.

Re: Piping 'Other' option/category from multiple choice using array filter il y a 2 ans 1 mois #84276

  • Mazi
  • Portrait de Mazi
  • Hors ligne
  • LimeSurvey Team
  • Messages : 5325
  • Remerciements reçus 296
  • Karma: 249
TMSWhite écrit:
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'"
L'administrateur a désactivé l'accès en écriture pour le public.

Re: Piping 'Other' option/category from multiple choice using array filter il y a 2 ans 1 mois #84296

  • gwiesner
  • Portrait de gwiesner
  • Hors ligne
  • Fresh Lemon
  • Messages : 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
L'administrateur a désactivé l'accès en écriture pour le public.

Re: Piping 'Other' option/category from multiple choice using array filter il y a 1 an 8 mois #91473

  • ChengF
  • Portrait de ChengF
  • Hors ligne
  • Fresh Lemon
  • Messages : 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!
L'administrateur a désactivé l'accès en écriture pour le public.

Re: Piping 'Other' option/category from multiple choice using array filter il y a 1 an 8 mois #91475

  • tpartner
  • Portrait de tpartner
  • Hors ligne
  • LimeSurvey Team
  • Messages : 4206
  • Remerciements reçus 790
  • Karma: 360
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.
L'administrateur a désactivé l'accès en écriture pour le public.

Re: Piping 'Other' option/category from multiple choice using array filter il y a 1 an 8 mois #91476

  • ChengF
  • Portrait de ChengF
  • Hors ligne
  • Fresh Lemon
  • Messages : 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
L'administrateur a désactivé l'accès en écriture pour le public.

Re: Piping 'Other' option/category from multiple choice using array filter il y a 1 an 8 mois #91511

  • tpartner
  • Portrait de tpartner
  • Hors ligne
  • LimeSurvey Team
  • Messages : 4206
  • Remerciements reçus 790
  • Karma: 360
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.
L'administrateur a désactivé l'accès en écriture pour le public.
  • Page :
  • 1
  • 2
Modérateurs: ITEd
Temps de génération de la page : 0.147 secondes
Donation Image