Hi all!

I've chased my tail for about 2 weeks trying to solve this problem:

I am working on a site that has "surveys" that users complete. I'm using webform 3.8 (for D6).

I really want the results of the survey to display like the results of a poll displays (the sum of all submissions as a percentage in a nice, simple horizontal bar).

As I said, I've not been able to find a solution... not with the modules: fusioncharts, nor google charts, nor chart, nor charts.

All that is needed is that when a user makes their choices in the "survey" webform and they hit submit, a page comes up with the results of their submissions which have been added to the total results of everyone else's submissions and displayed as a percentage per question.

For example:

"What color(s) do you like?"
-blue
-red
-green
-yellow

------------------------------
Results page (upon pressing submit) would display with a percentage bar (like the poll results do) as follows:

"What color(s) do you like?"
-25% of users chose blue
-25% of users chose red
-10% of users chose green
-40% of users chose yellow

Does anyone out there know anywhere at all that I might find this specific solution at? I do not know enough about php or drupal module making to make my own module. But this seems like it should be such a simple solution!!

Much thanks in advance!

Comments

quicksketch’s picture

Status: Active » Closed (won't fix)

Webform is not meant to provide a front end results system like you're describing, though it's possible by customizing your webform-confirmation.tpl.php file in your theme. Though as noted in the submission guidelines, question on "how do I theme..." or "how do I code..." are out of scope for the Webform issue queue and won't be answered here.

foolofatook’s picture

Hey thanks for your quick reply!

I understand based on researching this topic in-depth. I had already come across mention that this functionality (what I, and many others want) of displaying results of the webform was not what webform was intended to do.

You mentioned editing the webform-confirmation.tpl.php file to fit this need... How might I pursue this avenue?

I understand if you don't have time or whatnot... it just seems that the specific need category I've fallen in doesn't really have any good solutions for Drupal as of yet...

Thoughts?

Thanks a bunch!

generalkrull’s picture

foolofatook -

just wondering if you had any success figuring out how to display the results of a webform survey on your site. i'm trying to do the same thing, basically.

thanks

foolofatook’s picture

hey generalkrull,

I really haven't yet found a solution, but I'm working on my own module presently that will give this functionality. Once it's completed, I'll post it and hopefully it will help others who fall in this niche category...

jesaonline’s picture

subscribing

maedi’s picture

matdab’s picture

Subscribing!

qudsiyya-1’s picture

Has anyone found a solution?

Rameez’s picture

anyone came across the solution? i'm in search of same thing. Any help please.

ibexy’s picture

is this functionality available now?

ayushjn’s picture

Hi all,
I am also looking for the same thing, though for D7 version. Anyone got some solution?
Thanks in advance!

yuriy.sychenko’s picture

Version: 6.x-3.8 » 7.x-3.18
Status: Closed (won't fix) » Needs work
yuriy.sychenko’s picture

Hi, will there be a decision to do it on D7 version?

diwant’s picture

Has anyone tried redirecting to a panel page and sending in the webform submission as a context? That may work if it's possible (this approach is my hai-pothy-sees) and if your webforms within the same bundle or type are consistent enough to be all reported from the same panel.

quicksketch’s picture

Status: Needs work » Closed (duplicate)

Hi guys, getting back to the original question here, we have a separate issue for providing charts/graphs support that we should consolidate with. I'm interested in making Webform a great charting solution, but we haven't done any serious work on it yet: #282885: Combining webform with charts.