Closed (fixed)
Project:
Webform
Version:
5.x-1.4
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
27 Mar 2008 at 19:22 UTC
Updated:
3 Mar 2009 at 23:22 UTC
I have potentially sensitive information that I would just like to email but not store on the site. Anyway to set this up? Clearing each form manually isn't really an option.
Comments
Comment #1
quicksketchHmm, you could do this with a small snippet of PHP in the confirmation page text area (make sure you use the PHP input format).
You won't be able to use this in the validation or additional processing code because the result hasn't yet been saved. Note that this lets users pretty much delete any submission they want by changing the sid in the URL, but if you're not storing any results for that webform it won't be a problem.
Comment #2
turbogeek commentedthanks :)
Comment #3
brakzilla commentedDid this work for you? My submissions are not being deleted with the use of this code snippet, even if I post logged in or anonymous.
Comment #4
woc_art commentedHi there,
I can confirm that this works for me. I'm using this version of webforms: 5.x-1.10
Are you using another?
Comment #5
brakzilla commentedOk.. I am using 5.x-1.10 as well.
I removed the and nid='%d' part of this code and it worked fine. It finds the record by simply pulling the sid and poof its gone. Why is that? What is the significance of using nid as well in the string? Am I missing something here?
Comment #6
xcorex commentedHow about 6.x version?