Welcome, Guest
Username: Password: Remember me

TOPIC: Total assessment and relevance equation

Total assessment and relevance equation 3 years 5 months ago #73926

  • giankuka
  • giankuka's Avatar
  • Offline
  • Junior Lime
  • Posts: 28
  • Karma: 0
I'm not able tio find a solution in this forum, there are similar issues but I'm going to be crazy to find how to do, please help me! :)
The first group of my survey has five questions and any questions of this group have an "assessment value" (20, 10, 5);
I would like go to the end of the survey if the sum of the assessment value for this group is more than 100; else the survey can continue with other groups. Is it possible?
I think I have to put in the field "Relevance equation" of the second group something,but what exactly?
Thank you for your help
The administrator has disabled public write access.

Total assessment and relevance equation 3 years 5 months ago #73948

  • DenisChenu
  • DenisChenu's Avatar
  • Online
  • Moderator Lime
  • Posts: 7472
  • Thank you received: 1019
  • Karma: 295
Hello,

I think you have to use some javascript to fill a hidden ( with css or javascript) question on a next page ( use {assessment_CURRENT_TOTAL} place holder to get the current total ).

And do your condition ( or the quota ) with this answer.

Denis
The administrator has disabled public write access.

Total assessment and relevance equation 3 years 5 months ago #73953

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5705
  • Thank you received: 331
  • Karma: 255
Please attach your survey so our experts can have a look.

To me the best approach seems to be to use the equation question type to store the assessment total value at such a question and then use conditions based on the value of that question to show/hide following questions. You can copy conditions to following questions which then works like a "Go to the end of the survey if question X was answered Y".

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Total assessment and relevance equation 3 years 5 months ago #73974

  • giankuka
  • giankuka's Avatar
  • Offline
  • Junior Lime
  • Posts: 28
  • Karma: 0
I used a equation question type (question X) putting into it this: {assessment_CURRENT_TOTAL}; but this value is not an answer for the system. So when I use a condition for the next question (not show the question Y if the question X is equal to a value) it doesn't work. I attach my test survey.
Thanks

File Attachment:

File Name: limesurvey...1387.lss
File Size:78 KB
The administrator has disabled public write access.

Total assessment and relevance equation 3 years 5 months ago #73982

  • giankuka
  • giankuka's Avatar
  • Offline
  • Junior Lime
  • Posts: 28
  • Karma: 0
giankuka wrote:
I used a equation question type (question X) putting into it this: {assessment_CURRENT_TOTAL}; but this value is not an answer for the system. So when I use a condition for the next question (not show the question Y if the question X is equal to a value) it doesn't work. I attach my test survey.
Thanks

File Attachment:

File Name: limesurvey...1387.lss
File Size:78 KB

I have 1.92 RC3 Build 12204 Version
The administrator has disabled public write access.

Total assessment and relevance equation 3 years 5 months ago #73997

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5705
  • Thank you received: 331
  • Karma: 255
You need to create an according "expression" using the Expression Manager which wil then store the value at this question, see docs.limesurvey.org/Expression+Manager+H...s_in_the_survey_data

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Total assessment and relevance equation 3 years 5 months ago #74003

  • Steve
  • Steve's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 494
  • Thank you received: 46
  • Karma: 17
Hello,

you can use the sum() function to sum up the assessment values. The assessment values can be used with Qcode.valueNAOK. So you can add a question level Relevance equation like
{sum(Ospitalita.valueNAOK, Condiz_complessive.valueNAOK) > 100}
But I think it would be a good idea to use shorter and valid question codes. You can use the QA button to see an overview page for your survey logic. "Qualità/prezzo" for example doesn't match the criteria for a valid question code.
Mit freundlichen Grüßen/Best regards,

Stefan Gohlke
LimeSurvey Team
Last Edit: 3 years 5 months ago by Steve.
The administrator has disabled public write access.

Total assessment and relevance equation 3 years 5 months ago #74024

  • giankuka
  • giankuka's Avatar
  • Offline
  • Junior Lime
  • Posts: 28
  • Karma: 0
Thanks!!! It works!
The administrator has disabled public write access.

Total assessment and relevance equation 3 years 5 months ago #74025

  • Steve
  • Steve's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 494
  • Thank you received: 46
  • Karma: 17
You're welcome :-)

If our hints have been helpful and you enjoy limesurvey please consider a donation to the team .
We do all this in our free time and you don't have to pay a penny for this software.

Without your help we can't keep this project alive.
Mit freundlichen Grüßen/Best regards,

Stefan Gohlke
LimeSurvey Team
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.156 seconds