Welcome, Guest
Username: Password: Remember me

TOPIC: 2 multi-choice lists --> one list from answers that were checked

2 multi-choice lists --> one list from answers that were checked 3 months 3 weeks ago #107208

  • angol2
  • angol2's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 15
  • Karma: 0
Hello,

I'd like to set a question with a list of answers that combines lists from two previous questions. The new list should contain checked answers form two previous multi-choice questions. Can i do it with LS? :)

Kind regards,
Andrzej
The administrator has disabled public write access.

2 multi-choice lists --> one list from answers that were checked 3 months 3 weeks ago #107210

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4071
  • Thank you received: 748
  • Karma: 341
Yes, you can use array filter to filter answers in Q3 by those checked in Q1 or Q2.

Give all of the answers in Q1 and Q2 unique codes and then give the answers in Q3 codes that match those.

Here's a working example:

File Attachment:

File Name: limesurvey_survey_235541.lss
File Size: 23 KB
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.

2 multi-choice lists --> one list from answers that were checked 3 months 3 weeks ago #107211

  • angol2
  • angol2's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 15
  • Karma: 0
Great, thank you for your prompt answer!

Kind regards,
Andrzej
The administrator has disabled public write access.

2 multi-choice lists --> one list from answers that were checked 1 month 1 week ago #110189

  • L191
  • L191's Avatar
  • OFFLINE
  • Bronze Donor
  • Posts: 7
  • Karma: 0
Hi,I tried to download the file with the multi-choice lists, but I was not able to save it to my computer as a lss file. My browser (IE 11) just opens it (see attachment). When I try to save it from my browser, I'm presented two options, neither of which amounts to a lss file:
  • Webpage, source only (*.xml, *.xht, *.xhtml, *.svg
  • Text file (*.txt)

Subsequent import in LimeSurvey fails of course, because the file type is incorrect. Do you have any suggestions to save the file attachment as a "real" lss file? Thanks a lot!
Attachments:
The administrator has disabled public write access.

2 multi-choice lists --> one list from answers that were checked 1 month 1 week ago #110190

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4071
  • Thank you received: 748
  • Karma: 341
Save it as a .txt, then go to the file location and change the extension to .lss (as if you were changing the file name).
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.
The following user(s) said Thank You: L191

2 multi-choice lists --> one list from answers that were checked 1 month 1 week ago #110199

  • L191
  • L191's Avatar
  • OFFLINE
  • Bronze Donor
  • Posts: 7
  • Karma: 0
I followed the instructions and changed the file extension to .lss. I also consulted the following help pages provided by Microsoft:

However, when I tried to import the lss file in LimeSurvey, I got this message (see attachment). What should I do?
Attachments:
The administrator has disabled public write access.

2 multi-choice lists --> one list from answers that were checked 1 month 1 week ago #110207

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4071
  • Thank you received: 748
  • Karma: 341
Try downloading this file and removing the .txt extenstion.

File Attachment:

File Name: limesurvey_survey_235541.lss.txt
File Size: 23 KB
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.

2 multi-choice lists --> one list from answers that were checked 1 month 1 week ago #110219

  • L191
  • L191's Avatar
  • OFFLINE
  • Bronze Donor
  • Posts: 7
  • Karma: 0
Thank you for your response. I tried to import the file as you suggested, but I got the following error message (see attachment). According to the LimeSurvey Issue tracker, this error results from the questionindex field, which is not supported in version 2.00+ Build 131009 (the version I use).

Source: bugs.limesurvey.org/view.php?id=8078

Is this file also available in a format that is supported by version 2.00? I can't update to version 2.05 myself.
Attachments:
The administrator has disabled public write access.

2 multi-choice lists --> one list from answers that were checked 1 month 1 week ago #110220

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4071
  • Thank you received: 748
  • Karma: 341
No, sorry, I don't have that survey in 2.0 but you can simply follow the instruction regarding array filter above.
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.
The following user(s) said Thank You: L191

2 multi-choice lists --> one list from answers that were checked 1 month 1 week ago #110232

  • L191
  • L191's Avatar
  • OFFLINE
  • Bronze Donor
  • Posts: 7
  • Karma: 0
I now managed to import this file via LimeService. Thank you for your support.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.118 seconds
Donation Image