Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Indicating a correct answer from drop-down or radio buttons

  • bkeith
  • bkeith's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 4 months ago #145987 by bkeith
Hello,

If I have a question such as "what is 4*2 equal to" and use either radio buttons or a drop-down list for answers, Can LimeSurvey indicate if the answers are "correct" or "incorrect" when the assessment/survey is completed?

The survey would look like this:

4*2 is equal to:
a) 6
b) 10
c) 16
d) 8

Instead of the survey indicating that the respondent chose a, b, c, or d, I need to know if they got the answer correct/incorrect when the survey is completed. Is there a way to do this?

THanks!
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 4 months ago #145991 by DenisChenu
1: always bet to give your question code .... here : suppose the code is QCODE

{if(QCODE.NAOK=="d","Right","False")}

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 4 months ago #146104 by tpartner
Further to Denis' answer, place that in an equation type question to record it in the data.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose