PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Delete Entry on Update

  1. Is it possible to delete old "Entries" based on something like a user email or ID?

    Example: User logs in and fills out a form. Instead of "just" adding an entry for that form, it adds the entry and deletes old entries from the same form for the user.

    This way when you view the "Entries" page you'd only see one entry per user, no matter how many times they input the form.

    Posted 7 years ago on Friday June 29, 2012 | Permalink
  2. David Peralty
    Administrator

    You would probably want to create your own function for this using the pre_submission hook in Gravity Forms (so you don't delete the entry that is about to be added. This would require custom code to do this and is beyond the support I can give here.

    Posted 7 years ago on Friday June 29, 2012 | Permalink
  3. Okay, I'm sure I can figure that out.

    Thanks for the idea.
    I'll post it when I get it.

    Posted 7 years ago on Friday June 29, 2012 | Permalink