Welcome to the LimeSurvey Community Forum

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

Assessments with personalized messages depending on the score.

  • moisespaivaspi
  • moisespaivaspi's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 years 5 months ago #160622 by moisespaivaspi
Good Morning.

What I intend to present results from my survey is something like this.

I just do not know where I can set these rules in LimeSurvey.
Does anyone know how to do it?

Best regards.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 5 months ago #160644 by Joffm
Hi,
please see this topic: www.limesurvey.org/forum/can-i-do-this-w...-email-score-problem

and read the manual about Expression Manager:
manual.limesurvey.org/Expression_Manager

Especially "Micro-Tayloring", the "Use cases and HowTos" and the provided sample surveys.

And you set the rules in an equation qurstion were you calculate your results. With Tayloring you display it.

Regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • moisespaivaspi
  • moisespaivaspi's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 years 5 months ago #160690 by moisespaivaspi
Good morning, Joff.

Thank you very much for the answer.
I was reading what he suggested but I confess I was a bit confused.

Basically what I intend is to calculate assesses with two groups of questions but limesurvey only allows me to calculate the total of the whole survey or by separate group.

Is it possible to do it by code? If so, how do I access the code editor for assessments?

Best regards.
Moisés Paiva
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 5 months ago - 6 years 5 months ago #160696 by Joffm
Hello,

with equations you can calculate nearly everything you need.

So, at first you calculate the scores of 2A and 2B. (in two equation questions e.g. "ScoreResult2A" and "ScoreResult2B", not by assessment)

Then in your report, you do the Tayloring, like:

Your score is {if(ScoreResult2A>29 AND ScoreResult2B>19 AND Scoreresult2B<36,"fantastic",if(ScoreResult 2A<28....}.

Just like the "Mr., Mrs." example here:
manual.limesurvey.org/Expression_Manager...7BMrs.7D_Smith....22

BTW: Tha score cannot be 29?

Well, better to send a sample of your survey. (*.lss)

Best regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 6 years 5 months ago by Joffm.
The topic has been locked.
  • moisespaivaspi
  • moisespaivaspi's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 years 5 months ago #160705 by moisespaivaspi
Good Morning.

I'm getting more or less what you're explaining to me. My difficulty is even in working with equations in limestuvey with these conditions that are giving me. I will then send you my survey and the list of conditions that I intend to do.

Thanks a lot for the help.
The topic has been locked.
  • moisespaivaspi
  • moisespaivaspi's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 years 5 months ago #160706 by moisespaivaspi
my survey
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 5 months ago #160725 by Joffm
Hi, an example would have been sufficient.

But: Only in Q2XB1 you entered assessment values.

And the score you calculate by: {sum(that.Q2XB1.value)} in an equation question, e.g. called "Score2B"
manual.limesurvey.org/Expression_Manager...ager_for_Assessments

Well, in Part 2A you do just the same for each region.

Now you have variables like "Score2B", "Score2A1", "Score2A2", or so.

At the end you sum up the two scores depending on the region.

And in your report you can insert the correct text by "Tayloring".


By the way:
Are you sure that nobody just selects "Austria" without scrolling down to see that there is "Salzburg" somewhere at the end?
I think it to be better to work with levels or at least not have it in alphabetic order but ordered by country.

What for is that <table> tag in your question text of the region?
Do you work with an older version? Or with a different template?

Would be easier for your scoring, if all questions of Part 2A were in one big array selected by subquestion relevance. (Just one Score variable)

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • moisespaivaspi
  • moisespaivaspi's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 years 5 months ago #160739 by moisespaivaspi
Hmm, I think I'm catching it.

Can you explain to me where I can enter the equations and use Tayloring in LimeSurvey?
I've already looked for it and I can not find any of that in my survey.

Once again thank you for all your help and availability.

Best regards.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 5 months ago - 6 years 5 months ago #160746 by Joffm
And now the question: Which LS version do you use?

You enter equations in a question of type "equation", which you hide in your survey.
If this question has the question code "Score2B"
and you enter the equation "{sum(that.Q2XB1.value)}" this sum will be stored in the variable Score2B and will be available in the rest of the survey.

And Tayloring you can use everywhere, where you enter text: in question text, in answer options, in subquestion text, in email, in ...
You remember the "Mr.,Mrs." example.
Regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 6 years 5 months ago by Joffm.
The topic has been locked.
  • moisespaivaspi
  • moisespaivaspi's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 years 5 months ago #160748 by moisespaivaspi
I use version 2.72.2 + 171017.

So after defining these equations where and how can I use them to set the conditions and display the print messages I sent you?

Thank you very much.
Best regards.
Moisés
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 5 months ago - 6 years 5 months ago #160750 by Joffm
I wrote:

Then in your report, you do the Tayloring, like:

Your score is {if(ScoreResult2A>29 AND ScoreResult2B>19 AND Scoreresult2B<36,"fantastic",if(ScoreResult 2A<28 AND ....}.

Just like the "Mr., Mrs." example


And read about the "if"-statement in the manual.

I don't know how you are going to display this.
In a question of type "text display", in an email to the respondent, in the endpage,...

For "endpage" see the thread www.limesurvey.org/forum/can-i-do-this-w...survey-is-still-open

Regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 6 years 5 months ago by Joffm.
The topic has been locked.
  • moisespaivaspi
  • moisespaivaspi's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 years 4 months ago #161027 by moisespaivaspi
Good morning, Joff.

I'm sorry to be bothering you again with this subject but I needed help again with the question of calculating points from two groups and presenting the message depending on the outcome of the two groups.

I've been reading the topics you mentioned before but my question is about the location where I can use the conditions. Can I write the conditions in the limesurvey part of the evaluations?

Best regards.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose