Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

SUm with Array text

  • brais24
  • brais24's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
3 years 5 months ago #206812 by brais24
SUm with Array text was created by brais24
Hi People, really this is not a question, is a question about a bug?

I have 2 questions, 1 of them have 4 options, and is a multiple option,and the second question is an array text wich sum by column, but just appear if on the previous question you mark the option, all seems work fine but, if the first sub question is not selected, the array column dont make the cum correctly, just show 0, I attach survey, my Limesurvey version is 2.72, and I attach an image too.

Is there any way to fix this? Thank you.

Sum correctly done



Sum not correctly done


LSS survey

File Attachment:

File Name: limesurvey...2893.lss
File Size:32 KB
The topic has been locked.
  • brais24
  • brais24's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
3 years 5 months ago #206819 by brais24
Replied by brais24 on topic SUm with Array text
I dont know if its possible to make it work assigning to the firs row always 0 by default, but if that is possible to do, i need the row be hidden if not is selected
The topic has been locked.
  • brais24
  • brais24's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
3 years 5 months ago #206833 by brais24
Replied by brais24 on topic SUm with Array text
Ok, I be able to set a default value to 0 on the first row with an equation question, but not when the sub question is filtered, I apreciate any help.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #206835 by DenisChenu
Replied by DenisChenu on topic SUm with Array text
You're right : with 3.24.1 i have the issue.

PS : I have another issue with 1st columns at 0 for width too :; it's OK with subquestiin, but total didn't have the sr-only label. I report it.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #206836 by DenisChenu
Replied by DenisChenu on topic SUm with Array text
Only solution :
#1 : find and fix the issue yourself
#2 : create a Show text question and show your total using {sum(that.Q01.NAOK)}

I think LS have an issue with the NAOK somewhere

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • brais24
  • brais24's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
3 years 5 months ago #206839 by brais24
Replied by brais24 on topic SUm with Array text
Well, I will use a Workaround, that is on the question help, put the total {sum(Q1_SQ001.NAOK,Q2_SQ002.NAOK)}, I check the NAOK, and I dont find the solution, if someone can check it and tell us why dont work propertly, we will apreciate it.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #206840 by DenisChenu
Replied by DenisChenu on topic SUm with Array text
If you can report the issue please : community.limesurvey.org/bug-tracker/

It's really the best way to try to fix it :)

You can pit the link here when it's done :)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • brais24
  • brais24's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
3 years 5 months ago #206847 by brais24
Replied by brais24 on topic SUm with Array text
Ok, here is the bug reported, i try to do my best explaining.

bugs.limesurvey.org/view.php?id=16756
The following user(s) said Thank You: DenisChenu
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose