- Posts: 13
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
2 multi-choice lists --> one list from answers that were checked
- angol2
- Topic Author
- Offline
- New Member
Less
More
10 years 1 week ago #107208
by angol2
2 multi-choice lists --> one list from answers that were checked was created by angol2
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
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 topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
10 years 1 week ago #107210
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic 2 multi-choice lists --> one list from answers that were checked
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:
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:
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:
The topic has been locked.
- angol2
- Topic Author
- Offline
- New Member
Less
More
- Posts: 13
- Thank you received: 0
10 years 1 week ago #107211
by angol2
Replied by angol2 on topic 2 multi-choice lists --> one list from answers that were checked
Great, thank you for your prompt answer!
Kind regards,
Andrzej
Kind regards,
Andrzej
The topic has been locked.
- Laurenshi
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
9 years 9 months ago #110189
by Laurenshi
Replied by Laurenshi on topic 2 multi-choice lists --> one list from answers that were checked
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:
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!
- 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 topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
9 years 9 months ago #110190
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic 2 multi-choice lists --> one list from answers that were checked
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.
The following user(s) said Thank You: Laurenshi
The topic has been locked.
- Laurenshi
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
9 years 9 months ago #110199
by Laurenshi
Replied by Laurenshi on topic 2 multi-choice lists --> one list from answers that were checked
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?
- windows.microsoft.com/en-us/windows/file...ns-faq#1TC=windows-7 --> How do I change a file name extension?
- windows.microsoft.com/en-us/windows/show...extensions=windows-7
However, when I tried to import the lss file in LimeSurvey, I got this message (see attachment). What should I do?
Attachments:
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
9 years 9 months ago #110207
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic 2 multi-choice lists --> one list from answers that were checked
Try downloading this file and removing the .txt extenstion.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:
The topic has been locked.
- Laurenshi
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
9 years 9 months ago #110219
by Laurenshi
Replied by Laurenshi on topic 2 multi-choice lists --> one list from answers that were checked
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.
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 topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
9 years 9 months ago #110220
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic 2 multi-choice lists --> one list from answers that were checked
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.
The following user(s) said Thank You: Laurenshi
The topic has been locked.
- Laurenshi
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
9 years 9 months ago #110232
by Laurenshi
Replied by Laurenshi on topic 2 multi-choice lists --> one list from answers that were checked
I now managed to import this file via LimeService. Thank you for your support.
The topic has been locked.