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

SUJET : Set a value to multiple answers and saved it

Set a value to multiple answers and saved it il y a 1 an 4 mois #98362

  • andersonelias
  • Portrait de andersonelias
  • Hors ligne
  • Fresh Lemon
  • Messages : 19
  • Remerciements reçus 1
  • Karma: 0
Hallo LimeSurvey Experts,
I'm wondering if I can set a fix value to an answer and saved the value for deciding the view of the next Group of Question.

For Example
In QuestionGroup 1 with 2 DropDownList Questions:
Q1 : with 3 Answers A B C
Q2 : depending on the first answer (from Q1) with 3 Answer each : A1 A2 A3 B1 B2 B3 C1 C2 C3

I want to set a hidden field with a fix value for A1 - C3. Value: 10 20 30 40 50 60 70 80 90. If user select A in Q1 and A3 in Q2 so the value is 30. If user select C in Q1 and C2 in Q2 so the value is 80.
Can I set each answer with a value and save it in the hidden field, so I can decide to view the next group of question according to the value saved there?

My Idea, I set the value as Answercode, but I can't figure out how I can save the code in my hidden field.

Appreciate any help or another approach, Thanks!
L'administrateur a désactivé l'accès en écriture pour le public.

Set a value to multiple answers and saved it il y a 1 an 4 mois #98404

  • tpartner
  • Portrait de tpartner
  • Hors ligne
  • LimeSurvey Team
  • Messages : 4364
  • Remerciements reçus 827
  • Karma: 381
You can use an equation question and Expression Manager to store the value.
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: andersonelias
Modérateurs: ITEd
Temps de génération de la page : 0.110 secondes
Donation Image