Check out the LimeSurvey source code on GitHub!

INSERTANS has incorrect values

More
5 years 4 months ago #66306 by mgl
Hello, I was programming a survey with version 1.91+ Build 11026 and I am running into a problem with the INSERTANS feature. I'm trying to display the reponses from an earlier multiple response question and it won't show the correct answer to the INSERTANS statement that corresponds to the first item of the multiple choice list. For example, if the choices are A,B,C,D,E,F,G and I select C and E, it might show something like 'A, B & F' for A instead of 'No answer'. Is there something I can do about it? Thanks, I've uploaded a sample lss
Attachments:

Please Log in to join the conversation.

More
5 years 4 months ago - 5 years 4 months ago #66323 by machaven
Hi,

I've tried your survey with selecting 1,5,10,15,20 and have gotten the right results. See the attached screenshot.

I'm using the latest svn version, so maybe this was already fixed.

Last Edit: 5 years 4 months ago by machaven.

Please Log in to join the conversation.

More
5 years 4 months ago #66351 by Mazi
mgl, can you provide step by step instructions on how to reproduce the problem?


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
5 years 4 months ago #66494 by mgl
Hi, thanks for trying out the survey but I forgot to mention that usually the erroneous data is in the first item of the multiple choice INSERTANS.

Let me give you a few examples, there's a pattern to it. Using my survey, I've selected items 'Two', 'Five', 'Fourteen', 'Eighteen'. On the next page I see the following INSERTANS: 'Four & Eight', 'Two', 'Five', 'Fourteen', 'Eighteen'. I've only seen this happen with 11+ items in the list.

I've attached screenshots where where I select 'Thirteen' and 'Sixteen', and INSERTANS shows 'Three & Six', 'Thirteen' and 'Sixteen'.

Let me know if you need any more info.
Attachments:

Please Log in to join the conversation.

More
5 years 4 months ago #66503 by Mazi
Realy weird. I could reproduce this issue. If I get it right the core problem is that the first placeholder shows weird stuff (three & six), correct?

Please open a ticket at the Bugtracker and...
  1. Give as much information as possible
  2. Attach your survey. You can mark your ticket "private" so that only the developers will be able to take a look at it.
  3. Provide step-by-step instructions how to reproduce the problem.
  4. If possible/helpful please provide screenshots

Afterwards please post the link to the Bugtracker so we can follow the progress.

Thanks!


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
5 years 4 months ago #66558 by mgl
I have created a ticket and will keep an eye out for questions from the developers.

Please Log in to join the conversation.

More
5 years 4 months ago #66563 by tpartner
mgl, a temporary fix is to start all answer codes with an non-numeric character.


Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:

Please Log in to join the conversation.

More
5 years 4 months ago #66571 by TMSWhite
Expression Manager in 2.0 should fix this since it doesn't rely upon parsing apart the SGQA suffix. I'll create some test cases to confirm.

Please Log in to join the conversation.

More
5 years 4 months ago #66573 by mgl
This works, thanks.

Please Log in to join the conversation.

More
5 years 4 months ago #66574 by Mazi
mgl, what is th the ticket ID?


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
5 years 4 months ago #66585 by tpartner

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
5 years 4 months ago #66651 by Mazi
Problem fixed. The fix will be available at the next weekly bugfix release.


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.

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