Gravity Forms + Custom Post Types
[resolved] Form submissions over write existing post data (4 posts)

  1. David Jay
    Posted 4 years ago #

    When I submit a form linked to a CPT the data entered into the form fields over writes the data in an existing post of the same CPT.

    A new post is created with a new title and URL and the old post, with its original title and URL, is still there but the information in the old post gets changed to the information from the latest form submission.

    Any thoughts on what is causing this?


  2. bradvin
    Plugin Author

    Posted 4 years ago #

    Hey David,

    This is a strange one. So not only is the form creating a new post when submitted, but it is also overriding data in an existing post? Is that right?

    What versions of GF and GF+CPT are you using?

    Also, can you export the form to xml and paste it in pastebin so I can have a look

  3. David Jay
    Posted 4 years ago #

    Thanks for the response but I apologize for the inquiry. You beat me to the response

    I realized in was my custom post template that was causing the problem. I was using a loop with 1 post so it was pulling the information for the most recent form submission.

    I am new to php and custom post types but your plugin is helping a lot.

    Thanks again for the response and great plugin.


  4. Ken Newman
    Posted 4 years ago #

    You should mark this thread as resolved David.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Gravity Forms + Custom Post Types
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic