submitter needs copy
GrayThunder - February 5, 2005 - 02:49
| Project: | Webform |
| Version: | 4.6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | ullgren |
| Status: | closed |
Jump to:
Description
It would be nice if the person that submitted the form was able to receive a copy of the webform they just filled out. I am thinking a simple check box during the form creation that says: "Submitter Receives Copy of this Form" would suffice.
I see in the code that the users email address is read in, but never set in a variable (that I can find anyway).
Of course, this would only work if webforms were setup for registered users only. I am not sure how it would affect the rest of the code and how to ignore if the email address is not available, ie for anonymous users.

#1
How about a summary of their answers on the "thankyou confirmation" page that they can cut and paste if they want, with a note to that effect?
This would be valid for everybody registered or not.
As a feature it could be enabled/disabled from the settings page.
#2
Excellent idea. The user could either cut and paste or do a "print screen" if they wanted to keep paper records. (Some people still do that. :) )
#3
How about using the actions module to be able to configure and/or do this?
#4
Can I use this actions.module (CVS) on a 4.5.2 drupal installation without problems, or do I need to be running Drupal-cvs?
#5
It's very much a try it and see. However, you can definately use webform CVS with 4.5.2 including my patches.
#6
I feel like the submitter REALLY needs a copy via email. A page of the submitted data to print as hard copy would be ok, but anyone using a drupal system and accessing a webform is gonna have email. I can't imagine any other scenaria. Then if they want a hard copy, they could print one although a 'printer friendly' confirmation page with all submitted data might look nicer than a printed email.
gil
#7
There should be a confirmation page that shows them what they submitted, it should be printable and email'able. People like that warm and fuzzy proof of their submission. :)
#8
A simple "Click here if you'd like a copy" box would be nice. Most of my users wouldn't even know how to copy and paste.
K.I.S.S. :)
#9
This is now added to the CVS. The email component has a CC checkbox.
#10
I think it might be better if the user had the option to CC themselves (a checkbox on the client-side also) rather than always CC'ing.
I also added a webform hook for post-submission processing (which I'll be using for the file component eventually) that this modification should probably be using. For the email component, the hook declaration will look something like:
<?phpfunction _webform_submit_email ($data, $component) {
?>
However, when I put this hook into the webform module, I only passed the data for that one field, not the entire submission as might be necessary in this case. Any ideas on how this might be done cleanly?
#11
What if this were more of a confirmation email kind of thing, where the admin can write up a "Thank you" kind of email -- something similar to the on-screen message/redirect feature?
#12