Welcome, Guest
Username: Password: Remember me

TOPIC: how to show the answer of multiple choice question?

how to show the answer of multiple choice question? 4 months 2 weeks ago #107621

  • iscar
  • iscar's Avatar
  • OFFLINE
  • Gold Lime
  • Posts: 182
  • Thank you received: 1
  • Karma: 0
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.
The administrator has disabled public write access.

how to show the answer of multiple choice question? 4 months 2 weeks ago #107679

  • trivender
  • trivender's Avatar
  • OFFLINE
  • Expert Lime
  • Posts: 142
  • Thank you received: 6
  • Karma: 6
Try {q1_sq001.shown}
{q1_sq003.shown}
Trivender Singh
Survey Designer and Programmer
"I always suggest to have a group by group display layout and create a seprate group for each question. This will be extra work but you will get flexiblity to create your question by using more than more lime survey question types."
The administrator has disabled public write access.

how to show the answer of multiple choice question? 4 months 1 week ago #107713

  • iscar
  • iscar's Avatar
  • OFFLINE
  • Gold Lime
  • Posts: 182
  • Thank you received: 1
  • Karma: 0
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?
The administrator has disabled public write access.

how to show the answer of multiple choice question? 4 months 1 week ago #107724

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4141
  • Thank you received: 768
  • Karma: 349
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Last Edit: 4 months 1 week ago by tpartner.
The administrator has disabled public write access.
The following user(s) said Thank You: qsgt

how to show the answer of multiple choice question? 4 months 1 week ago #107741

  • ekoslav
  • ekoslav's Avatar
  • OFFLINE
  • Silver Donor
  • Posts: 9
  • Karma: 0
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: 4 months 1 week ago by ekoslav. Reason: additional information
The administrator has disabled public write access.

how to show the answer of multiple choice question? 4 months 1 week ago #107743

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4141
  • Thank you received: 768
  • Karma: 349
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.175 seconds
Donation Image