Welcome to the LimeSurvey Community Forum

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

Assessments with another value than numbers

  • stevelegare
  • stevelegare's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
6 years 4 months ago #160654 by stevelegare
Assessments with another value than numbers was created by stevelegare
I'm looking for a solution for my next survey.

I will have questions with answers bind to a person characteristic. Each answers point to a specific job.

Example (I know it is a bad example :-)):

Q1
What kind of work do you like ?
a1 - at home (translator)
a2 - at office (policeman)

Q2
Are you rational or artistic?
a1 - rational (policeman)
a2 - artistic (translator)

Q3
Can you work on computer for 40 hours a week?
a1-yes (translator)
a2-no (policeman)

How can LimeSuirvey help me to know which job (translator/policeman) is the best for me ?

My survey will have about 30 questions.

I look for assessment but I can only give number in the value input.

Thanks for your help
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 4 months ago - 6 years 4 months ago #160660 by tpartner
Replied by tpartner on topic Assessments with another value than numbers
You can use equation questions to create a "score" for each job. Something like this for "Translator":

Code:
{sum(if(Q1 == 'a1', 1, 0), if(Q2 == 'a2', 1, 0), if(Q3 == 'a1', 1, 0))}

Then, use Expression Manager to compare the scores and pipe the appropriate text:

Code:
A good job for you would be a {if(policeScore > translatorScore, 'police officer', 'translator')}.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 6 years 4 months ago by tpartner.
The following user(s) said Thank You: Ben_V
The topic has been locked.
  • stevelegare
  • stevelegare's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
6 years 4 months ago #160754 by stevelegare
Replied by stevelegare on topic Assessments with another value than numbers
Thanks for your answer.
It is the way I was thinking of doing it. You gave me a good example that will help me.:-)
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose