Is there a way to prevent Umbraco forms saving content to the database?
Short version: Is there a way to prevent Umbraco forms saving content to the database?
Long version: We've build a portal with several forms where members can submit a form containing personal details, this form is sent through email using a custom build workflow.
With a new upcoming law in The Netherlands it should be possible to delete all member specific information from the system once a member deletes their account.
Since we are using our own workflow to manage the data, there is no need (for us) to save this data to the database.
Is there a way to prevent Umbraco forms from saving the content of a form to the database?
As I understand it, out of the box, no there isn't. However what you could do as part of your custom workflow is once your e-mail has been sent successfully you could clear all submitted data just simply keep the record so you know how many entries have been submitted.
You would need some sort of mechanism to handle the possibility of an e-mail not sending as well.
Is there a way to prevent Umbraco forms saving content to the database?
Short version: Is there a way to prevent Umbraco forms saving content to the database?
Long version: We've build a portal with several forms where members can submit a form containing personal details, this form is sent through email using a custom build workflow.
With a new upcoming law in The Netherlands it should be possible to delete all member specific information from the system once a member deletes their account.
Since we are using our own workflow to manage the data, there is no need (for us) to save this data to the database.
Is there a way to prevent Umbraco forms from saving the content of a form to the database?
Thanks in advance!
Hi Mark,
As I understand it, out of the box, no there isn't. However what you could do as part of your custom workflow is once your e-mail has been sent successfully you could clear all submitted data just simply keep the record so you know how many entries have been submitted.
You would need some sort of mechanism to handle the possibility of an e-mail not sending as well.
Nik
Hi, Do you have by chance any code examples ? (clearing submitted data or a specific record from the form stored data)
Hi Ran,
our package source code is available here: https://github.com/PerplexInternetmarketing/Perplex-Umbraco-Forms
Cheerio, Jeffrey
Hi Mark,
not out of the box. In our Forms-on-Steroids package (https://our.umbraco.org/projects/backoffice-extensions/umbraco-forms-on-perplex-steroids/), we've included a workflow that does exactly this.
Hope it helps,
Jeffrey
is working on a reply...