Welcome to the LimeSurvey Community Forum

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

In survey stats - show mean score of previously submitted responses

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 4 months ago - 3 years 4 months ago #224292 by Joffm

Write the result of the formula into an equation type question and then display the result of this Equation type question in the end message, 

Doesn't work.

See here (the first line is with my solution, the second with an equation)
 

You see, I am playing around with the new function "leastfilled".

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 years 4 months ago by Joffm.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
3 years 4 months ago #224293 by DenisChenu
Time to ask a statSum and and statSumIf function ;)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 4 months ago #224296 by holch
Strange, just ran a survey and {TOKEN} and {SAVEDID} worked, didn't test with an equation question though.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 4 months ago #224297 by Joffm
@holch, 
don't forget, this is about the plugin "getStatInSurvey". 

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 4 months ago #224299 by holch
Yes, I get it. But as soon as the data is saved within a equation question, it shouldn't matter where the data comes from, right? So if equation questions can be displayed via {equationquestion} on the end page, which I think should work, then I don't see why this would be different. But maybe I am overlooking something fundamental.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
3 years 4 months ago #224300 by DenisChenu
No : old getStatInSurvey can not be saved in Equation question

The solution is in javascript way only :
forums.limesurvey.org/forum/can-i-do-thi...nses?start=15#224290

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 4 months ago #224303 by holch

No : old getStatInSurvey can not be saved in Equation question

Ahh, there is the problem. Not displaying equations in the end message, but getting the info into an equation.

Thanks for clarifiying.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
  • tammo
  • tammo's Avatar
  • Away
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
3 years 4 months ago - 3 years 4 months ago #224305 by tammo
I think this will be a huge thing for non-technical developers, especially in situations where the usage of Javascript is dis-allowed.
Will it be possible to adapt this to a situation where the outcomes can be saved without the Javascript solution?


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Last edit: 3 years 4 months ago by tammo.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
3 years 4 months ago #224312 by DenisChenu

Will it be possible to adapt this to a situation where the outcomes can be saved without the Javascript solution?
 

Time to ask a statSum and and statSumIf function ;)

In 5.X : www.limesurvey.org/manual/StatFunctions

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
  • baybug
  • baybug's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 4 months ago #224675 by baybug
Many thanks - it works perfect :)
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose