Welcome to the LimeSurvey Community Forum

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

Customize the end message based on a response to one question

  • tbudelli
  • tbudelli's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 8 months ago #110314 by tbudelli
Good Afternoon,

I am working with LimeSurvey 1.92 and I was wondering if I could modified the end message text based on one response to the questions:

For example:

Question number 9:
Blah blah blah

Question number 10:
Are you smoking: Yes, No

Question number 11:
Blah blah blah


End Message:
If Yes to question 10: Well, we hope we will be able to help you quit press the following button to access this site:...

If No to question 10: Great! Hope you will keep on and resist temptation...you can check this site:...


Thanks for your help,
T.B.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 8 months ago - 9 years 8 months ago #110346 by tpartner
See Expression Manager - Tailoring/Piping - manual.limesurvey.org/Expression_Manager#Tailoring.2FPiping


.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 9 years 8 months ago by tpartner.
The topic has been locked.
  • tbudelli
  • tbudelli's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 8 months ago #110368 by tbudelli
Thanks Tony for your quick reply. Unfortunately, I am stuck with 1.91+ and I do not think the EM are available on this version.
Can you think of any workaround? Or any customization I can do to the files to bring this feature to 1.91?

Thank you very much for your help!
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 8 months ago #110369 by tpartner
Oh, your initial post said 1.92. I don't have a solution for 1.91.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • tbudelli
  • tbudelli's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 8 months ago #110370 by tbudelli
:( Yes, I thought it was 1.92 but double checked and found out I am with 1.91

Do you know if there is a way I can customize the php files to add the EM feature only?

I don't think that upgrading is an option unfortunately right now...

Thanks again!
The topic has been locked.
  • tbudelli
  • tbudelli's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 8 months ago #110380 by tbudelli
I am going to use some JS to do this with insertans.
Is there a way to get the value of an insertans for a specific question (LS 1.91) for all the survey that will be created?
If not, I will have to edit the code manually every time I create a survey based on the template.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 8 months ago #110388 by DenisChenu
Not in LS1.91.

Best is to update to 2.05.

Denis

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.
More
9 years 8 months ago #110395 by Ben_V
Hi,
If your message is only based on this question (#10), you can enable assessments for this survey to display at the end of the survey the adapted texts and links depending on the score...

Are you smoking:
Yes ->1 point
No -> 0 point

Assessment messages (included in the end page):
If score 0 point: Great! Hope you will keep on and resist temptation...you can check this site:...
If score 1 point: Well, we hope we will be able to help you quit press the following button to access this site:...

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose