Check out the LimeSurvey source code on GitHub!

Multiple Choice with 'Others' to Array - using Array Filter

More
4 years 10 months ago #79029 by Newbeedu
Hello All,

On the first page I have a multiple choice question with 12 options and Open box for 'Others'.

In the next page I need to have only the selected boxes of previous multiple choice question (which is possible through array filter but "without" the 'other' option) + response written in the 'Other' box.
This is a rating question where the selected options are rated on a scale of 5.

Could you please help.
Pls let me know if I should provide any more information.

Thanks and Regards,

Please Log in to join the conversation.

More
4 years 10 months ago #79036 by Mazi
1. Which Limesurvey version do you use?

2. Can you create a simple test survey and activate it and post the link?

3. Can you attach that survey for testing?


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
4 years 10 months ago #79041 by Newbeedu
1. Which Limesurvey version do you use?

- Version 1.91+ Build 12416

I have uploaded a sample survey.

Page 1 and Page 2 are fine. Page 3 I have the other option which does nto reflect on page 4 when selected.
Attachments:

Please Log in to join the conversation.

More
4 years 10 months ago #79112 by Mazi
I think this feature now exist at 1.92 which uses the Expression Manager to handle it (please refer to the docs).

You can test if this is fixed at the latest version by testing our online Demo which always runs the latest Limesurvey version.
Username: admin
Password: test
If you can reproduce the problem there please report back.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
4 years 10 months ago - 4 years 10 months ago #79159 by Newbeedu
Hi,

I logged in to the account you provided and imported the survey that I had shared with you.

On the third page, I selected Others and inserted a name, but on the 4th page, it did not appear.

Pls let me know if I have made any mistakes in testing the survey.

Sorry i am not able to upload the screen shots I took. It is saying attachment does not exist. :(

This survey is available on the link provided.

Pls Help.

Thanks,
Last Edit: 4 years 10 months ago by Newbeedu.

Please Log in to join the conversation.

More
4 years 10 months ago #79434 by Mazi
Please read these instructions and test the sample survey provided: docs.limesurvey.org/Expression+Manager+S...imeSurvey#Overview_3


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
4 years 10 months ago - 4 years 10 months ago #79463 by andrie
You can do this in version 1.92+ with the new Expression Manager feature. But you need to do a bit of a workaround and change the type of questions.

I attach a modified sample survey that illustrates the ideas. Here are the steps.

  1. In Q3, change the subquestions and add an explicit "Other" item. Untick the advanced option to have an automatic other option.
  2. Add a new question directly after Q3. Give it the code "Q3other". Add a condition to Q3other to only display if the "other" option in Q3 was ticked. Make the question type "short free text" and ask for the description of the "other" option.
  3. Change Q4 by adding an explicit "Other" subquestion
  4. Now for the fun bit. Use the piping feature built into Expression Manager to "pipe" the value of "Q3other" to the subquestion of Q4 "other". You do this by adding this text as the subquestion textL {Q3other}

If you followed all of these steps, you'll get the desired survey behaviour.


Attachments:
Last Edit: 4 years 10 months ago by andrie.

Please Log in to join the conversation.

More
4 years 10 months ago #79466 by holch
This should also work with the Array filter without a problem. I think I just did this with one of my current surveys.

The names of the items don't need to be the same, so for other you can insert the response to the "other" field from the multiple choice.

I'll have a look at my survey, but I am quite sure that I just did that for a current survey. Problem is, that the survey has around 200 questions, many of them with "other", so it will be difficult to find.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
4 years 10 months ago #79472 by Mazi

holch wrote: This should also work with the Array filter without a problem. I think I just did this with one of my current surveys.

The names of the items don't need to be the same, so for other you can insert the response to the "other" field from the multiple choice.

Are you sure? Don't the answer codes always have to match, meaning the option at the follow up question should be named "other" as well?


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
4 years 10 months ago #79486 by holch
I am quite sure. Because I thought I might just try it. I will check this.

Hmmm, might be that I used "other" as a normal item, with conditions for an open ended questions. And then based on this I probably created the second question and added there responses of the open-ended question in case "other" was marked.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form