Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mark Wemekamp 73 posts 385 karma points
    Nov 27, 2017 @ 12:05
    Mark Wemekamp
    0

    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!

  • Nik 1593 posts 7151 karma points MVP 6x c-trib
    Nov 27, 2017 @ 12:22
    Nik
    1

    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

  • Ran Chen 40 posts 117 karma points
    Dec 18, 2017 @ 09:49
    Ran Chen
    0

    Hi, Do you have by chance any code examples ? (clearing submitted data or a specific record from the form stored data)

  • [email protected] 406 posts 2135 karma points MVP 7x c-trib
    Dec 18, 2017 @ 10:48
    jeffrey@umarketingsuite.com
    0

    Hi Ran,

    our package source code is available here: https://github.com/PerplexInternetmarketing/Perplex-Umbraco-Forms

    Cheerio, Jeffrey

  • [email protected] 406 posts 2135 karma points MVP 7x c-trib
    Nov 27, 2017 @ 16:26
    jeffrey@umarketingsuite.com
    100

    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

Please Sign in or register to post replies

Write your reply to:

Draft