How to store assessment value in the responses & weight number in the question?

More
4 years 10 months ago #83160 by Ben_V
Ben_V replied the topic: How to store assessment value in the responses & weight number in the questi
Tom: You're (always) right.. It's a great idea to set this sample survey 'all-in-one'
Struppi: I'm sure that you've already note the useful updated links into the footer of Tom's message ;)

Ben

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 to join the conversation.

More
4 years 10 months ago #83426 by Struppi
Struppi replied the topic: Aw: Re: How to store assessment value in the responses & weight number in th
Hi, Ben,

I did get it now: By the means of the "auxiliary" question ("finaltotal") at the end (and the total sum IS STORED (!) in the database - HEUREKA! :)
Thank you once again, Ben, that's GREAT!!!

I would like to display now the total sum once again in the end message.
I used the following syntax:


Tu as atteint {TOTAL} points.


However, the variable TOTAL is NOT resolved: It get a yellow rectangle TOTAL, but not the number of points (still displayed one page before!).
Where is my mistake?!?

Thank you for your answers!

Struppi

P.S.: I should have taken more simple code names for my question... :( (ex.: DEFI_2012_C_PRO_01).
I won't tell what my equation for displaying the total sum of 54 (!) questions in the "auxiliary" question looks like...

Please Log in to join the conversation.

More
4 years 10 months ago - 4 years 10 months ago #83428 by Ben_V
Ben_V replied the topic: Aw: Re: How to store assessment value in the responses & weight number in th
Maybe try to use {assessment_CURRENT_TOTAL} instead {TOTAL}...
Ben/

= {ASSSSSESSMENT_CURRENT_TOTAL} avec 2 "s" :evil:

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)
Last Edit: 4 years 10 months ago by Ben_V.
The following user(s) said Thank You: Struppi

Please Log in to join the conversation.

More
4 years 10 months ago #83429 by Struppi
Struppi replied the topic: Aw: Re: Aw: Re: How to store assessment value in the responses & weight numb
Oh no...: That was it - I'd got the wrong variable name!!! Where did I take this {TOTAL} from?!? I could have continued for hours... - thank you SOOOOO MUCH (avec un seul "o" ;-) ) !!!

Struppi

Please Log in to join the conversation.

More
4 years 10 months ago - 4 years 10 months ago #83432 by Struppi
Struppi replied the topic: Aw: Re: Aw: Re: How to store assessment value in the responses & weight numb
Hi, Ben,
hi, all the others,

I was a little bit too hasty...: I get now the variable resolved, but the behaviour is not the expected one:
Instead of the total number of points achieved, there is always the "0"!! :-(

This seems a kind of "bug"; cf. the following posting:
bugs.limesurvey.org/print_bug_page.php?bug_id=5372

I didn't really understand the workaround... Which kind of assessment rules could I add that don't have any effect on the survey/the results?

Thank you in advance for your help!

Struppi
Last Edit: 4 years 10 months ago by Struppi. Reason: Correction

Please Log in to join the conversation.

More
4 years 10 months ago - 4 years 10 months ago #83433 by Ben_V
Ben_V replied the topic: Aw: Re: Aw: Re: How to store assessment value in the responses & weight numb

asssessment rules could I add that don't have any effect on the survey/the results

portée: totale
Minimum= Nº of points mini possible could be negative values (ex:-100)
Maximum= Nº of points maxi possible

Heading (Entête)= (nothing)
Message= (nothing)

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:
Last Edit: 4 years 10 months ago by Ben_V.
The following user(s) said Thank You: Struppi

Please Log in to join the conversation.

More
4 years 10 months ago #83434 by Struppi
Struppi replied the topic: Aw: Re: How to store assessment value in the responses & weight number in th
Ben,

could you please explain me, where in your sample survey "assess.lss" the comment (= "See how this works - assessment Message") and the TOTAL indication on the LAST page are configured? I don't find it - it's not in the end message. I don't have any idea... :(

Thank you very much!

Struppi

Please Log in to join the conversation.

More
4 years 10 months ago #83435 by Struppi
Struppi replied the topic: Aw: Re: Aw: Re: Aw: Re: How to store assessment value in the responses & wei
Hi, Ben,

merci beaucoup!!! Now it works! I don't see any more the "0", but my maximal point number "1180"!!!

Struppi

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now