How to display assessment results

More
3 years 10 months ago #116342 by eleren
eleren created the topic: How to display assessment results
The manual says that "the assessments only show on the final "completed" page after submitting a survey. "

But where can I edit that page? How can I add the necessary placeholders to display the results?
I tried to add {PERC} and {TOTAL} to the end message (editlocalsettings) of my survey, but nothing happens.

I would like to display the results of group 1, group 2 and the total.

Is there a sample survey I could use for inspiration?

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago #116350 by DenisChenu
DenisChenu replied the topic: How to display assessment results
Hi,

Assesments text result are done on "Assessments" management adminpage. Look at the manual : manual.limesurvey.org/Assessments#Define_assessment_rules

This text are added before the default thanks page.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago #116352 by fransmarcelissen
fransmarcelissen replied the topic: How to display assessment results
Is there any reason for using assessments, now you can do everything (and much more and easier) with EM? I never used assessments, but I have the impression that assessments are supported since 2.0 only for compatibility reasons with old surveys.
Frans

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago #116358 by tpartner
tpartner replied the topic: How to display assessment results
Hi Frans, I agree that assessments can mostly be replaced by Expression Manager but I still periodically find them useful to augment EM with the Qcode.value variable.

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

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago #116397 by eleren
eleren replied the topic: How to display assessment results
For me EM isn't that easy though…
I try to figure out the following scenario:
1. I managed to calculate the assessment values of a number of array questions = equation type question
2. If the score <= n1 I would like to show question 2a, if score is > n1 && < n2 I'ld show question 2b, if > n2 I would like to show question 3b.
Can you put me on track?
Much appreciated!

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago - 3 years 10 months ago #116425 by tpartner
tpartner replied the topic: How to display assessment results
If you are using a basic array with question code "q1" and sub-question codes "SQ001, SQ002, SQ003, SQ004, SQ005", then the equation for the assessment "score" for q1 would be:

{sum(that.q1.sq_SQ001.value, that.q1.sq_SQ002.value, that.q1.sq_SQ003.value, that.q1.sq_SQ004.value, that.q1.sq_SQ005.value)}

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last Edit: 3 years 10 months ago by tpartner.
The following user(s) said Thank You: eleren

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago #116429 by eleren
eleren replied the topic: How to display assessment results
Got that, thanks! I managed to calculate a score = part 1 of my question.

And now for the second part of my question: how to show conditional feedback according to the score one got?
If the score <= n1 I would like to show question 2a, if score is > n1 && < n2 I'ld show question 2b, if > n2 I would like to show question 3b.
I suppose I need a relevance equation for questions 2a, 2b and 2c?

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #143876 by bdeprez
bdeprez replied the topic: How to display assessment results
I have the same question - completing the 'assessment rules' does not deliver the end result on the page...

I have looked at using EM which is something I could probably figure out, but for others using LS it may be a bridge too far. And it would be great if they could use standard functionality. Too bad the result cannot be stored in the database...

Also, I think I found a bug in the system... When adding 'answer options' in the question (when assessments have been turned on), the newly added line only shows 2 fields - the 'assessment' field is missing... You need to save the answer options and then reopen for the field to appear.



Thanks!
Bernard
Attachments:

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #143890 by tpartner
tpartner replied the topic: How to display assessment results
Regarding your first point, you can file a feature request.

Regarding your first point, please file a bug report.

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

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #143917 by bdeprez
bdeprez replied the topic: How to display assessment results
Hi Tony,

thank you for the response - I will raise a bug report for the second one.

Re the first one - I thought the display of the results was a standard functionality of the Assessments - am I wrong? (from the manual: "because the assessments only show on the final "completed" page after submitting a survey.") - should I raise another bug report for that one?

Re the save in database - here you're correct, perhaps that would be a new feature request.

Thanks,
Bernard.

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #143959 by tpartner
tpartner replied the topic: How to display assessment results
Note that you can use Expression Manager to load assessment values into equation type questions - Qcode.value - manual.limesurvey.org/Expression_Manager#Access_to_Variables

You can also use Expression Manager to display conditional text to show your own assessments report anywhere in the survey.

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

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #144221 by bdeprez
bdeprez replied the topic: How to display assessment results
bug report raised for the first issue: 11884

Re the assessment results - I think I need to do some more digging to see if the 'completed' page still has the reference to the 'assessment results'.
Any further ideas would definitely help - the EM solution will be one step too far for a non-tech user, I'm afraid...

Cheers,
B.

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #144222 by Ben_V
Ben_V replied the topic: How to display assessment results

bdeprez wrote: [...]the EM solution will be one step too far for a non-tech user, I'm afraid...


Don't give up at this stage... because all of this may first look hard to understand but after it's much more easier than you can expect.

1) Please find attached a sample "survey" loading assess value & message on a single page... (there are other great sample surveys living at /docs/demosurveys/ ). Just try to look inside and overlook bases of EM syntax

2) Set your survey the best you can (until the point where you will face some issues related with assessments), provide a lss export and describe your what you want… and we will be able to give you a hand with EM code ;)

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Attachments:
The following user(s) said Thank You: tpartner, teracomp

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #144241 by teracomp
teracomp replied the topic: How to display assessment results
Excellent example. While this may seem trivial to seasoned LS developers, it's really helpful to see how simply we can report results at the end of the survey, in this case, a table at the end:
{Q1.question} 	: {Q1.shown}
{Q2.question}	: {Q2.shown}
{Q3.question}	: {Q3.shown}
{Q4.question}	: {Q4.shown}
{Q5.question}	: {Q5.shown}

The {SURVEYNAME} and {SAVEDID} values are all in the documentation, but there is a lot of reading in the docs!
Thanks for providing a concise example.

Dave Phillips

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #144243 by Ben_V
Ben_V replied the topic: How to display assessment results
You're welcome :)

teracomp wrote: The {SURVEYNAME} and {SAVEDID} values are all in the documentation, but there is a lot of reading in the docs!


...the best place to start with LS {keywords} is probably:
https://manual.limesurvey.org/Expression_Manager_Roadmap

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!