Bienvenue, Invité
Nom d'utilisateur : Mot de passe : Se souvenir de moi

SUJET : Saving assessments {TOTAL} in database?

Saving assessments {TOTAL} in database? il y a 1 an 6 mois #95057

  • buwebmaster
  • Portrait de buwebmaster
  • Hors ligne
  • Fresh Lemon
  • Messages : 2
  • Karma: 0
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!
L'administrateur a désactivé l'accès en écriture pour le public.

Saving assessments {TOTAL} in database? il y a 1 an 6 mois #95070

  • tpartner
  • Portrait de tpartner
  • Hors ligne
  • LimeSurvey Team
  • Messages : 4281
  • Remerciements reçus 807
  • Karma: 370
{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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
L'administrateur a désactivé l'accès en écriture pour le public.
Cet utilisateur a été remercié pour son message par: buwebmaster

Saving assessments {TOTAL} in database? il y a 1 an 6 mois #95089

  • buwebmaster
  • Portrait de buwebmaster
  • Hors ligne
  • Fresh Lemon
  • Messages : 2
  • Karma: 0
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
L'administrateur a désactivé l'accès en écriture pour le public.
Modérateurs: ITEd
Temps de génération de la page : 0.113 secondes
Donation Image