Welcome to the LimeSurvey Community Forum

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

Can I add barchart to my confirmation email?

  • LimeRay
  • LimeRay's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 2 months ago #162770 by LimeRay
Hi,
I have been trying to get some barcharts like the ones I get from "Public statistics" in my confirmation email to the respondent.

With no luck.
I am using the techniques that are used inside "SendPdfReport" and it works very well with all information I supply myself.
But I would like to show "all respondents answers as well"

IE Question 1 "I answered" 1 and then there would be a barchart showing how many have answered 1, 2, 3, 4 and so on.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 2 months ago #162773 by tpartner
Replied by tpartner on topic Can I add barchart to my confirmation email?
There is no access to previous responses from within a survey or in the email templates. I think you will need to redirect to a remote PHP page that queries the database and generates your charts.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 2 months ago #162774 by tpartner
Replied by tpartner on topic Can I add barchart to my confirmation email?
...or, enable public statistics if that will show what you want - manual.limesurvey.org/Presentation .

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • LimeRay
  • LimeRay's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 2 months ago #162775 by LimeRay
Replied by LimeRay on topic Can I add barchart to my confirmation email?
Thank you for your answer.
I could of course use that as a link in the confirmation mail (as one solution) But to be on the safe side, that information I can see in the public statistics is "out of bounce" for my mailing?
There are nu variables that I can implement in my report?
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose