- Posts: 2
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Saving assessments {TOTAL} in database?
- buwebmaster
- Topic Author
- Offline
- New Member
Less
More
10 years 11 months ago #95057
by buwebmaster
Saving assessments {TOTAL} in database? was created by buwebmaster
Question about an assessment test I created: It displays the total properly at the end of the survey, but I'm unable to save the total to the database. As the last question, I created an Equation type question, set it to "Yes" for "Always hide this question", and as the question, I wrote {TOTAL}.
Obviously that's the wrong thing to do... What do I need to change so that it saves the test score to the database?
Thanks for your help!
Obviously that's the wrong thing to do... What do I need to change so that it saves the test score to the database?
Thanks for your help!
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
10 years 11 months ago #95070
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Saving assessments {TOTAL} in database?
{TOTAL} is only available after survey completion. {ASSESSMENT_CURRENT_TOTAL} can be used in the survey.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: buwebmaster
The topic has been locked.
- buwebmaster
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
10 years 11 months ago #95089
by buwebmaster
Replied by buwebmaster on topic Saving assessments {TOTAL} in database?
Thanks Tony! It works now, but for some reason, I had to add a regular question (without an assessment value) in the same question group as the {ASSESSMENT_CURRENT_TOTAL}, otherwise, it only saved the total of the first 3 question groups and not the fourth... even if I had the {ASSESSMENT_CURRENT_TOTAL} in a fifth group... So I moved the name field at the end instead of at the beginning... but I wonder why it does that.
I have version 2.0.0
Thanks,
Julie
I have version 2.0.0
Thanks,
Julie
The topic has been locked.