Closed (fixed)
Project:
Webform
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
5 Feb 2005 at 02:49 UTC
Updated:
9 Aug 2006 at 18:30 UTC
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.
Comments
Comment #1
jnt commentedHow 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.
Comment #2
GrayThunder commentedExcellent 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. :) )
Comment #3
wilddev commentedHow about using the actions module to be able to configure and/or do this?
Comment #4
GrayThunder commentedCan I use this actions.module (CVS) on a 4.5.2 drupal installation without problems, or do I need to be running Drupal-cvs?
Comment #5
jnt commentedIt's very much a try it and see. However, you can definately use webform CVS with 4.5.2 including my patches.
Comment #6
Capnj commentedI 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
Comment #7
stevryn commentedThere 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. :)
Comment #8
abnaki commentedA 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. :)
Comment #9
ullgren commentedThis is now added to the CVS. The email component has a CC checkbox.
Comment #10
quicksketchI 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:
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?
Comment #11
laura s commentedWhat 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?
Comment #12
(not verified) commented