how to show the answer of multiple choice question?

More
3 years 5 months ago #107621 by iscar
iscar created the topic: how to show the answer of multiple choice question?
i have a multiple choice question q1. with 3 subquestion sq001,sq002,sq003.
suppose participant select sq001 and sq003.
i would creat next question q2 with text display type:
in last question, you select sq001,sq003.
how to write the EM in q2? i tried q1.shown but it's not correct.

Please Log in to join the conversation.

More
3 years 5 months ago #107679 by first
first replied the topic: how to show the answer of multiple choice question?
Try {q1_sq001.shown}
{q1_sq003.shown}

Survey Designer and Programmer

Please Log in to join the conversation.

More
3 years 5 months ago #107713 by iscar
iscar replied the topic: how to show the answer of multiple choice question?
the problem is we don't know which option will be selected in multiple choice question.
i am not sure if we can use q1.selected.shown?

Please Log in to join the conversation.

More
3 years 5 months ago - 3 years 5 months ago #107724 by tpartner
tpartner replied the topic: how to show the answer of multiple choice question?
You can use the "list" function - manual.limesurvey.org/Expression_Manager#Implemented_Functions

In the last question you selected: {list(q1_sq001.shown, q1_sq002.shown, q1_sq003.shown, q1_sq004.shown)}

.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last Edit: 3 years 5 months ago by tpartner.
The following user(s) said Thank You: Qsgt

Please Log in to join the conversation.

More
3 years 5 months ago - 3 years 5 months ago #107741 by ekoslav
ekoslav replied the topic: how to show the answer of multiple choice question?
And how do you go about using assessment when there is 10 options available and you have 4 correct ones?

The question is "Select all that apply" and if 4 correct ones are selected, positive point is awarded in assessment ?

Right now, the assessment is calculated as: {sum(Q1.value+Q2.value+Q3.value)} for List (radio) questions, and I would like to use multiple option questions as well, if possible.
Last Edit: 3 years 5 months ago by ekoslav. Reason: additional information

Please Log in to join the conversation.

More
3 years 5 months ago #107743 by tpartner
tpartner replied the topic: how to show the answer of multiple choice question?
I don't see how that relates to this topic. Please open a new one if you have an unrelated question.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now