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.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 4 months ago #161032 by tpartner
I think Joffm's point is to not use the built-in assessment-reporting mechanism but, instead, use Expression Manager tayloring to create your own "report". You will find that a far more powerful tool.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • moisespaivaspi
  • moisespaivaspi's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 years 4 months ago #161033 by moisespaivaspi
Hello tpartner

I'm realizing what you told me but what I'm not understanding is how and where to use the expression manager tayloring in LimeSurvey. Where in LimeSurvey can I make the conditions I want for what I want.

Many thanks for the reply.
Best regards.
Moisés Paiva
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 4 months ago #161035 by tpartner
You can place the conditional (tailored) text in a text-display question or in the End Message.

In the sample survey attached below, I have placed an example in a text-display in the second group.

File Attachment:

File Name: limesurvey...1-27.lss
File Size:18 KB

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • moisespaivaspi
  • moisespaivaspi's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 years 4 months ago #161037 by moisespaivaspi
Hmmm I'm understanding logic.
So in my case when wanting to calculate and present a message depending on the result of two groups what would be an example?

With best regards and thanks again.
Moisés
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 4 months ago #161038 by tpartner
Place an equation question for the "Score" in each group and then another "Total" equation question that sums the "Score" questions. Base your tailoring on the "Total" question.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • moisespaivaspi
  • moisespaivaspi's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 years 4 months ago #161039 by moisespaivaspi
I do not understand very well now.
Can I send you my survey and can you exemplify one of the conditions?

When I look at an example, I'll be able to replicate in other conditions that are missing.

Best regards.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 4 months ago #161041 by tpartner
I'm sorry, I do not have the time to go through your survey.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • moisespaivaspi
  • moisespaivaspi's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 years 4 months ago #161042 by moisespaivaspi
It does not matter. It has helped me a lot.
Thanks for all the help.

Best regards.
Moisés
The topic has been locked.
  • moisespaivaspi
  • moisespaivaspi's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 years 4 months ago #161056 by moisespaivaspi
Hello Tpartner.

I've been trying to implement the example of one of my conditions during the day but the result is always the same. When I want to join the two conditions with an "AND" it tells me that the syntax is not supported.

Can you tell me how to interlink the two conditions?

Best regards.
Moisés
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 #161061 by tpartner
Please refer to the manual - Expression Manager --> Access to functions --> if

- manual.limesurvey.org/Expression_Manager#Implemented_Functions

The syntax is:
Code:
if(test, result_if_true, result_if_false)

So, your example would be:
Code:
if(scoreP2A < 28 AND scoreP2B < 18, 'YESSSSSS', '')

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 topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 4 months ago #161062 by holch
Well, you have at least a few syntax errors. I didn't test it and I can't tell you if the idea itself will work, but I am pretty sure that the second "(" in your syntax is not correct.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 4 months ago #161063 by holch

tpartner wrote:
...but, I don't understand the logic - if scoreP2A is less than 18, it is also obviously less than 28.


the second one is scoreP2B. ;-)

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose