I love this module!!!

I am using webform for a short questioner or retention survey. What I want to do is to display the questions on a themed results page with correct answer flagged when they missed the question.

The results page would look something like:

1. The purpose of cleaning and disinfection is to:
Fulfill regulatory requirements* (correct answer)
Remove dirt and debris*** (the selected answer)

Webform almost does this in the email confirmation. I say almost because in the email confirmation, you get the questions and the responses but not all of the choices. Now the variables $form, $form_state, $form_values are available but the arrays are nasty. If I have to, I will try and work through the arrays but I am hoping to find an easier way.

Any ideas or suggestions?

thanks
gerald

Comments

quicksketch’s picture

gwlangie’s picture

Thank you quicksketch. I truly understand the power of webform. Don't we all try and push things beyond the limit of its design?

With that said, how do you get the results to the email reply? That is almost what I am looking for.

quicksketch’s picture

how do you get the results to the email reply?

You can theme your e-mails as described in THEMING.txt. Using the $node and $submission variables (in 3.x) you could in theory show all the responses and all the questions in the e-mail.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.