- Posts: 348
- Thank you received: 41
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Referring to quota in EM
- Jmantysalo
- Topic Author
- Offline
- Platinum Member
Or, from another viewpoint, possibility to refer previous answers in EM. Like "You scored better than X percent of people taking the test so far."
- DenisChenu
- Offline
- LimeSurvey Community Team
- Posts: 13648
- Thank you received: 2491
And the sample (used for test) survey
github.com/LimeSurvey/LimeSurvey/blob/ma...untFunctionsTest.lsa
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.
- DenisChenu
- Offline
- LimeSurvey Community Team
- Posts: 13648
- Thank you received: 2491
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.
- Jmantysalo
- Topic Author
- Offline
- Platinum Member
- Posts: 348
- Thank you received: 41
- DenisChenu
- Offline
- LimeSurvey Community Team
- Posts: 13648
- Thank you received: 2491
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.
- tpartner
- Offline
- LimeSurvey Community Team
- Posts: 10109
- Thank you received: 3595
Should this be added to the ExpressionScript documentation - manual.limesurvey.org/ExpressionScript_-...#Access_to_functions ?See github.com/LimeSurvey/LimeSurvey/tree/ma...lugins/statFunctions
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
- Jmantysalo
- Topic Author
- Offline
- Platinum Member
- Posts: 348
- Thank you received: 41
But why statCountIf returns nothing, and not the number 0, if there are no match at all?
What is the status of this? Is it an experimental feature that might disappear in the future?
- DenisChenu
- Offline
- LimeSurvey Community Team
- Posts: 13648
- Thank you received: 2491
Unsure , you are sure of the code ? I think it muts return 0 too.Jmantysalo wrote: But why statCountIf returns nothing, and not the number 0, if there are no match at all?
NoJmantysalo wrote: What is the status of this? Is it an experimental feature that might disappear in the future?
1. it's a core plugin
2. With a test each time someone update code : github.com/LimeSurvey/LimeSurvey/tree/ma...46-fixed-em-function
Maybe, but maybe more create a page on "How to add new Expression Manager function" ?Should this be added to the ExpressionScript documentation - manual.limesurvey.org/ExpressionScript_-...#Access_to_functions ?
We have this one too : github.com/LimeSurvey/LimeSurvey/tree/ma...mo/demoAddEmFunction
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.
- DenisChenu
- Offline
- LimeSurvey Community Team
- Posts: 13648
- Thank you received: 2491
manual.limesurvey.org/ExpressionScript_-..._.28New_in_4.0.0_.29tpartner wrote:
Should this be added to the ExpressionScript documentation - manual.limesurvey.org/ExpressionScript_-...#Access_to_functions ?See github.com/LimeSurvey/LimeSurvey/tree/ma...lugins/statFunctions
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.
- Jmantysalo
- Topic Author
- Offline
- Platinum Member
- Posts: 348
- Thank you received: 41
- DenisChenu
- Offline
- LimeSurvey Community Team
- Posts: 13648
- Thank you received: 2491
OKJmantysalo wrote: About the zero vs. nothing please see attached lss-file. It says "Already has answered" if there is no answer at all (and the survey is active -- it says "Already 0 has answered" if when previewing).
Then : its better in my opinion
"" : no data can be returned
0 : data can be returned, but it's 0
It's clear enough.
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.
- Jmantysalo
- Topic Author
- Offline
- Platinum Member
- Posts: 348
- Thank you received: 41