Set a value to multiple answers and saved it

More
3 years 11 months ago #98362 by andersonelias
andersonelias created the topic: Set a value to multiple answers and saved it
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!

Please Log in to join the conversation.

More
3 years 11 months ago #98404 by tpartner
tpartner replied the topic: Set a value to multiple answers and saved it
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.
The following user(s) said Thank You: andersonelias

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now