• Resolved mikeywil

    (@mikeywil)


    I have a Jetpack form working well and sending form data to email addresses.

    Please could you let know how can I stop the data from these form responses from being added to the Feedback Form Responses area? I don’t want to have this information stored on the server.

    Many thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Animesh Gaurav (a11n)

    (@bizanimesh)

    Hi there,

    While there is no setting or toggle you can use to disable storing the form submissions in your database, you can use a filter to customize the behaviour of the form feature to fit your needs. The grunion_contact_form_success_message filter, for example, could be used to delete form submissions immediately after the email has been sent. You can check this page of the Jetpack codex to find out more: https://developer.jetpack.com/hooks/grunion_contact_form_success_message

    You’ll be able to paste the second snippet on that page in a functionality plugin and that should help.

    I can understand you may not find this feature useful, others do rely on the messages appearing in their dashboard, and use the Feedback menu as part of their workflow. It’s especially useful for folks who do not rely on email much, or who use another plugin to automatically process those form submissions for another purpose (like newsletter management), or folks who work as part of a team when not everyone on the team has access to the mailbox where the emails are received.

    In any case, I do see your point that in some cases it is not needed. This is not a request that’s come up a lot in the past few years though. In fact, more folks have suggested that we should not send any email and instead only store the forms on the site. To answer that need, we added the grunion_should_send_email hook: https://developer.jetpack.com/hooks/grunion_should_send_email

    If, however, we receive more feedback about this in the future, we’ll definitely consider adding an option to the Jetpack form settings, so one can disable saving forms to the database as they set up a new form. Until then, the workaround I mentioned above should work.

    Thread Starter mikeywil

    (@mikeywil)

    Thank you very much for the full and detailed response – really useful to know all this background.

    I think in almost all cases having the messages readily available outside of an individual email account is useful. In this case, there is a desire to keep personal information offline for data protection purposes.

    Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to prevent a Jetpack form from storing responses on server’ is closed to new replies.