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.

How to delete a form entry when I delete a post?

  1. wavecons
    Member

    Hello,
    I really like the script. Works excellently.
    We use it on our site, to allow users to submit questions. Most of the time we answer the question and post all on our site.
    Occasionally we are just getting silly questions which we delete.

    Is there a way that:
    - if we delete the entry in the FORM ENTRIES window, the corresponding draft-post gets deleted too ?
    or
    - if we delete the draft-post, that the entry in form entries gets deleted at the same time?

    Just curious if we missed any setup or such a function is just not there.

    Would be great if you could help.

    Thanks in advance.

    Posted 9 years ago on Wednesday February 16, 2011 | Permalink
  2. This isn't functionality that exists. The entry and the post are stored separately and have their own life cycle. The only thing they have in common is the same form was used to create them. The form is what creates the post and the entry, the entry doesn't create the post. Which is why they aren't tied together this way.

    We will probably further enhance the entry/post relationship in a future release, and it may include the ability to delete a post from the entry that was created from the same form. However, i'm not sure if we would directly tie deleting posts to deleting entries as that could cause major problems for users not expecting that functionality to occur when they delete an entry.

    Posted 9 years ago on Wednesday February 16, 2011 | Permalink
  3. Jim Dog
    Member

    Hi Carl,

    I was wondering if this functionality ever got included or looked into further as it would definitely be handy in an upcoming project I have.

    Thanks in advance.

    Posted 6 years ago on Monday May 13, 2013 | Permalink
  4. David Peralty
    Administrator

    This feature was never included as it wasn't a popular request with our users, nor a huge advantage in terms of management. As Carl said, posts, pages, and whatnot really have their own "lifetime" that has nothing to do with the entries in Gravity Forms, and could create some major issues if we added such a feature. All my best!

    Posted 6 years ago on Monday May 13, 2013 | Permalink
  5. Jim Dog
    Member

    Ahhh shame. Thanks for the quick response though David. Much appreciated.

    Posted 6 years ago on Monday May 13, 2013 | Permalink
  6. David Peralty
    Administrator

    Not a problem. I'm sure a developer out there could create an add-on for Gravity Forms to do what you are looking for if you are really interested in having it as a feature. Again, all my best.

    Posted 6 years ago on Monday May 13, 2013 | Permalink