Calculate % correct and email results

More
4 years 3 months ago #89782 by bdhibbs
Hi Everyone,
First post and new user to limesurvey. My hosting company had this in a list of free applications so I want to give it a try.

I created a quick quiz. I want it to calculate and show percentage correct and I want an email to go to the participant along with the person who created the quiz.

Thank you!
-B

Please Log in to join the conversation.

More
4 years 3 months ago #89817 by DenisChenu

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).

Please Log in to join the conversation.

More
4 years 3 months ago #90029 by bdhibbs
Thanks Denis!
I reviewed the documentation but Im confused where the code goes.

Any help appreciated.


-Brian

Please Log in to join the conversation.

More
4 years 3 months ago #90045 by DenisChenu
Did you activate assessment and test it ?

In the confirmation mail (for token survey) you can send information from the survey. And you can do some calculation with Expression Manager.

Tell us what you test, you done.

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).

Please Log in to join the conversation.

More
4 years 3 months ago #90156 by bdhibbs
Hi Denis,
I activated the assessment value and I see it for each questions. I'm using a value of 1 for correct and 0 for incorrect. I am wondering how to calculate score and show the final % to the person who took it and also how to email final to the person who took the quiz and the person who is hosting the quiz.

I attached what I have so far.
Attachments:

Please Log in to join the conversation.

More
4 years 3 months ago #90176 by DenisChenu
You knwo the number of exact question,

Then you can use EM to calculate the percentage.

{sum(Q1.value,Q2.value,Q3.value ....)} : it's the sum of all assesment value for this user.

After do {sum(Q1.value,Q2.value,Q3.value ....)/40*100} to have the percentage.

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).

Please Log in to join the conversation.

More
4 years 3 months ago #90238 by bdhibbs
Every time I go into the EM I get a table. Do I attach this code to the survey question groups? All I get is a test column and a description column when I click on the EM icon.



Sorry for all the questions.
Attachments:

Please Log in to join the conversation.

More
4 years 3 months ago #90280 by DenisChenu
You don't have to go to Expression Manager, but USE Expression Manager ;).

This link goes to a documentation for using EM on your own text.

Just try in a question text:
question number : {QID} : you use EM
or
{if(1==0,"This is the end of world","")}

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).

Please Log in to join the conversation.

More
4 years 3 months ago - 4 years 3 months ago #90301 by bdhibbs
Ok,
- Do I put the assessment values inside the "Message:" portion of assessment Rules?

- Do I need to put anything inside the min max fields?

- Is that correct where I put the TOTAL code?

- Where is the link to the survey and how do I email it out to members in a group?

Thanks
Attachments:
Last Edit: 4 years 3 months ago by bdhibbs. Reason: updated info.

Please Log in to join the conversation.

More
4 years 3 months ago #90340 by DenisChenu
Hello,

{TOTAL} mean the {TOTAL} = {sum(Q1.value,Q2.value,Q3.value ....)}

But not sure you can do calculation with TOTAL,

Test
{sum(Q1.value,Q2.value,Q3.value ....)/40*100}

In place of {TOTAL}

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).

Please Log in to join the conversation.