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

TOPIC: use as answers previous SELECTED answers

use as answers previous SELECTED answers 2 years 4 months ago #77060

  • dcordova
  • dcordova's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 15
  • Karma: 0
Hi

I have a doubt... can I use answers responded on previous questions as answer of a new question?
For example:

P5. What kind of drinks you like?
Coke "selected as an answer"
Fanta
Sprite "selected as an answer"
Water
Juice "selected as an answer"
Alcoholic

P6. Wich one u like most?
Coke
Sprite
Juice

Hope you can clear my doubt!

Thanks!

BTW: I'm using Limesurvey 1.92 + Build 120311
The administrator has disabled public write access.

Re: use as answers previous SELECTED answers 2 years 4 months ago #77066

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4071
  • Thank you received: 748
  • Karma: 341
Sure, look at the array filter setting for the list-radio question type - docs.limesurvey.org/Question+type+-+List...eSurvey#Array_filter
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: use as answers previous SELECTED answers 2 years 4 months ago #77068

  • dcordova
  • dcordova's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 15
  • Karma: 0
Thanks for answering! but i see it works for list radio question type... and i need multiple choice question type
The administrator has disabled public write access.

Re: use as answers previous SELECTED answers 2 years 4 months ago #77069

  • dcordova
  • dcordova's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 15
  • Karma: 0
Ans also i need to use this in P7, P8, P9, P10
The administrator has disabled public write access.

Re: use as answers previous SELECTED answers 2 years 4 months ago #77072

  • dcordova
  • dcordova's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 15
  • Karma: 0
I'm such a dumbass!!! sorry Freshlemon!! I looked at the multiple choice advanced setting and it has a Array Filter too!

Thanks for your help! u saved my day!
The administrator has disabled public write access.

Re: use as answers previous SELECTED answers 2 years 4 months ago #77075

  • dcordova
  • dcordova's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 15
  • Karma: 0
One more question, is there a way to cascade previous selected answers?

For example

P1 Wich Brands is ur favourite

Coke "selected and answer"
Fanta
Sprite
GingerAle
BigCola

P2 wich brands do you usually drink

Fanta "selected and answer"
Sprite
GingerAle "selected and answer"
BigCola

P3 Wich one has a funnier comercial?
Coke "previously selected form P1"
Fanta "previously selected form P2"
GingerAle "previously selected form P2"

Thanks a lot!
The administrator has disabled public write access.

Re: use as answers previous SELECTED answers 2 years 4 months ago #77079

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4071
  • Thank you received: 748
  • Karma: 341
I don't think that's possible using the array filter. You will need to use JavaScript and possibly some hidden questions to achieve it.
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: use as answers previous SELECTED answers 2 years 4 months ago #77091

  • TMSWhite
  • TMSWhite's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 759
  • Thank you received: 82
  • Karma: 36
dcordova and tpartner

Cascading array filters work perfectly in 1.92. There is a demo of this at /docs/demosurveys/ls2_cascading_array_filter.lss

However, by cascading, we mean progressively filtering a set of lists. You're talking about ORing together two array filters in P3. You'd need custom JavaScript for that.
The administrator has disabled public write access.

Re: use as answers previous SELECTED answers 2 years 4 months ago #77092

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4071
  • Thank you received: 748
  • Karma: 341
Yes, that's what I was referring to - having a question filtered by the selected responses from 2 or more previous question. Not really cascading...
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: use as answers previous SELECTED answers 2 years 4 months ago #77103

  • dcordova
  • dcordova's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 15
  • Karma: 0
Thanks for the help guys! I really appreciate it!
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.165 seconds
Donation Image