- Posts: 16
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Provide advice after all the answers
- goolasso
- Topic Author
- Offline
- New Member
Less
More
4 years 4 months ago #191417
by goolasso
Provide advice after all the answers was created by goolasso
Hello.
I am a very beginner of Limesurvey I just started to use it 4 hours ago.
I spent last hour searching web and this forum for the answer to my feasibility question but with no luck.
The question is:
I would like to build a questionarie where user have to answer to several questions, that can also change considering the previous question.
At the very end, after the survey finish, I would like to provide a personal report of the answers (on screen and by email) with a tailored advice considering all the questions.
For example if userA answered Y to question 1, N to question 2, Y to question 3 I'd like to produce an advice that is basically text and links.
The advice should say something like:
<< Because you answered y to q1 therefore my advice is to do [advice 1], because you answered N to q2 <and> Y to Q3 therefore therefore my advice is to do [advice 2]>>.
I have a set of predefined advices that I want to combine considering the answers.
Is this possible?
Thanks a lot!
I am a very beginner of Limesurvey I just started to use it 4 hours ago.
I spent last hour searching web and this forum for the answer to my feasibility question but with no luck.
The question is:
I would like to build a questionarie where user have to answer to several questions, that can also change considering the previous question.
At the very end, after the survey finish, I would like to provide a personal report of the answers (on screen and by email) with a tailored advice considering all the questions.
For example if userA answered Y to question 1, N to question 2, Y to question 3 I'd like to produce an advice that is basically text and links.
The advice should say something like:
<< Because you answered y to q1 therefore my advice is to do [advice 1], because you answered N to q2 <and> Y to Q3 therefore therefore my advice is to do [advice 2]>>.
I have a set of predefined advices that I want to combine considering the answers.
Is this possible?
Thanks a lot!
The topic has been locked.
- gabrieljenik
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 272
- Thank you received: 45
4 years 4 months ago #191418
by gabrieljenik
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
Replied by gabrieljenik on topic Provide advice after all the answers
Hi,
Yes, you could accomplish that using Expression Manager on the end messages, on the last group (showing different text questions) or, as well as, using assessments.
If you would like a report, I build those for my customers, allowing them to download a pdf or word. If interested, please contact me at gabriel@encuesta.biz
Thanks
Yes, you could accomplish that using Expression Manager on the end messages, on the last group (showing different text questions) or, as well as, using assessments.
If you would like a report, I build those for my customers, allowing them to download a pdf or word. If interested, please contact me at gabriel@encuesta.biz
Thanks
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
The topic has been locked.
- goolasso
- Topic Author
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
4 years 4 months ago - 4 years 4 months ago #191420
by goolasso
Replied by goolasso on topic Provide advice after all the answers
Thanks Gabriel.
I didn't know the assessment feauture, I will try!
I didn't know the assessment feauture, I will try!
Last edit: 4 years 4 months ago by goolasso. Reason: ok
The topic has been locked.
- gabrieljenik
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 272
- Thank you received: 45
4 years 4 months ago #191421
by gabrieljenik
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
Replied by gabrieljenik on topic Provide advice after all the answers
This standard feature:
manual.limesurvey.org/Assessments
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2737
4 years 4 months ago #191424
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Provide advice after all the answers
However, I think in your case I would NOT recommend Assessments.
The expression manager/script might look a little scary at the beginning but you are much more flexible in creating your "report", because the assessment feature is basically just giving "points" to certain answers and then depending on the points you are "assessed". For your described case the expression manager/script is a lot more flexible.
The expression manager/script might look a little scary at the beginning but you are much more flexible in creating your "report", because the assessment feature is basically just giving "points" to certain answers and then depending on the points you are "assessed". For your described case the expression manager/script is a lot more flexible.
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.
- goolasso
- Topic Author
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
4 years 4 months ago #191427
by goolasso
Replied by goolasso on topic Provide advice after all the answers
Thanks a lot Holch.
Indeed I was studing Assessment and I was not finding a straighforward way to use it for my purpose!
I will study Expression manager instead.
Why are you citing also "script"?
Indeed I was studing Assessment and I was not finding a straighforward way to use it for my purpose!
I will study Expression manager instead.
Why are you citing also "script"?
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2737
4 years 4 months ago #191428
by holch
There is currently a discussion to rename "Expression Manager" into "Expression Script" because it explains better what it actually is. It is a script language that allows you to "program" certain things (Expression). It is the same thing. I am just preparing already in case it gets renamed in the future. Then the mention of "Expression Manager" might not make sense to everyone.
Expression Manager looks scary at the beginning, but there are good explanations in the manual, especially look into "micro tayloring", which is what you mostly need.
You probably will need some time to get your head around it, but then what you are trying to do is not a simple thing. Once you have the idea, it will be probably really quick.
You can use text display questions with expressions in it to deliver your advice. Once you have started and run into specific problems, you can always come back and ask specific questions. But first you should read through the pages about expression manager in the manual and download the example LSS files. this will give you a very good base to write your own expressions and create your taylored report at the end of the survey.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Provide advice after all the answers
To add to the confusion...Why are you citing also "script"?
There is currently a discussion to rename "Expression Manager" into "Expression Script" because it explains better what it actually is. It is a script language that allows you to "program" certain things (Expression). It is the same thing. I am just preparing already in case it gets renamed in the future. Then the mention of "Expression Manager" might not make sense to everyone.
Expression Manager looks scary at the beginning, but there are good explanations in the manual, especially look into "micro tayloring", which is what you mostly need.
You probably will need some time to get your head around it, but then what you are trying to do is not a simple thing. Once you have the idea, it will be probably really quick.
You can use text display questions with expressions in it to deliver your advice. Once you have started and run into specific problems, you can always come back and ask specific questions. But first you should read through the pages about expression manager in the manual and download the example LSS files. this will give you a very good base to write your own expressions and create your taylored report at the end of the survey.
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.
- goolasso
- Topic Author
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
4 years 4 months ago #191724
by goolasso
Replied by goolasso on topic Provide advice after all the answers
Ok, tks a lot.
Now I just finished the survey composition and I am starting developing the report.
A basic question is rising....Where do I need to write the report using EM?
Now I just finished the survey composition and I am starting developing the report.
A basic question is rising....Where do I need to write the report using EM?
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12888
- Thank you received: 3965
4 years 4 months ago #191726
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Provide advice after all the answers
Hi,
as far as I understand you are going to display it at the end.
So the best is to create your report in the "end message".
Before you calculate whatever is to calculate by equations and in your report you use "micro-tayloring":
{if(result1==1,"My advice is that you eat an apple each day",if(result1==2,"My advice is that you eat two bananas each day","You are too healthy, please smoke at least ten cigarettes each day"))}
Here is something general, shown to all respondents.
{if(result2<100,"You got less than 100 points,"You got 100 points or more")}
Joffm
If there are some more - special - questions, you should provide your survey (only the important parts) as lss export.
as far as I understand you are going to display it at the end.
So the best is to create your report in the "end message".
Before you calculate whatever is to calculate by equations and in your report you use "micro-tayloring":
{if(result1==1,"My advice is that you eat an apple each day",if(result1==2,"My advice is that you eat two bananas each day","You are too healthy, please smoke at least ten cigarettes each day"))}
Here is something general, shown to all respondents.
{if(result2<100,"You got less than 100 points,"You got 100 points or more")}
Joffm
If there are some more - special - questions, you should provide your survey (only the important parts) as lss export.
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
4 years 4 months ago #191739
by DenisChenu
:laugh:
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.
Replied by DenisChenu on topic Provide advice after all the answers
:woohoo: :huh:Joffm wrote: You are too healthy, please smoke at least ten cigarettes each day
:laugh:
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.
- goolasso
- Topic Author
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
4 years 4 months ago #191907
by goolasso
Replied by goolasso on topic Provide advice after all the answers
Hi all, a quick update.
What you suggested is working quite well.
I have a new problem.
I am using "Type: Long Free Text". When I put within the if statement a long text, like 10/20 rows with new lines and particular char like ":" or "-" or just new line it gives me a lot of errors and it is not working.
Moreover within a long text sometime it seems also to have unexpected result, sometime the same text gives me errors sometimes not.
It will be better to edit the text using the source editor?
What you suggested is working quite well.
I have a new problem.
I am using "Type: Long Free Text". When I put within the if statement a long text, like 10/20 rows with new lines and particular char like ":" or "-" or just new line it gives me a lot of errors and it is not working.
Moreover within a long text sometime it seems also to have unexpected result, sometime the same text gives me errors sometimes not.
It will be better to edit the text using the source editor?
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2737
4 years 4 months ago #191908
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Provide advice after all the answers
Sorry, it is not quite clear what you are trying to do. What do you use "long free text" for?
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.