Save assessment

More
1 month 3 days ago #190826 by r4f4s0hz
Save assessment was created by r4f4s0hz
Hi good day to all, i need your help to solve one question, i make one survey where the user select


Siempre, Casi siempre,Algunas veces, Casi Nunca, Nunca
1 2 3 4 5


And activate assessment to have score and more, but searching how can save the score final in my survey, i found some topic but i can't save the info in my db.


First Try:
1.- Make one Question Equational
2.- Add the next Source in Response {ASSESSMENTS_CURRENT_TOTAL}
3.- Hide in css with hidden and put in final question
4.- Don´t work and show me undefined variable

Second try:
1.- Make question Equational
2.- Add the next code ASSESSMENTS_CURRENT_TOTAL in equational
3.- Hide in css with hidden and put in Final
4.- Works but don't show nothing in bd

Third Try:
1.- Make Equational question
2.- Add the next source in equational if(ASSESSMENTS_CURRENT_TOTAL >=0, "Nulo", ASSESSMENTS_CURRENT_TOTAL >=20, "Bajo")
3.- Don't save in bd

Any can explain how can add the final score in my bd please, i try more option and nothing works :'(

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

LimeSurvey Partners
More
1 month 3 days ago #190827 by jelo
Replied by jelo on topic Save assessment

r4f4s0hz wrote: {ASSESSMENTS_CURRENT_TOTAL}

4.- Don´t work and show me undefined variable


The variable name is {assessment_CURRENT_TOTAL}. You have an S too much.

This placeholder can be used within a survey to display the current total score. Keep in mind that the score is only updated when the respondent clicks on the "Next" button. Therefore, it is useless in an all-in-one survey. Also, its use requires the existence of at least one assessment rule. Otherwise, the placeholder will not display any value.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

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

More
1 month 2 days ago #190832 by tpartner
Replied by tpartner on topic Save assessment
Note that the word assessment should be all uppercase (the forum software is converting it to lowercase).

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
The following user(s) said Thank You: DenisChenu

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!