• I built a simple Gravity Form that uses Post Updates to update a custom field on some posts.

    When I use it as a logged in user, it works. But when I’m not logged in, instead of updating the existing post, it creates a new post.

    Have I missed a configuration step somewhere?

Viewing 3 replies - 1 through 3 (of 3 total)
  • @vfhwebdev

    In the logged out user case, then there would not be an author associated to a post, to be able to update.

    So in that case you could make that form only show if a user was logged in.

    Forms, edit form, form settings, restrictions > Require user to be logged in.

    Thread Starter VFHwebdev

    (@vfhwebdev)

    The documentation says it should be possible:

    https://github.com/jupitercow/gravity-forms-post-updates

    Allow the public to edit posts

    add_filter(‘gform_update_post/public_edit’, ‘__return_true’);

    And there’s an option on the post field in Gravity Forms for “default post author”.

    All that lead me to think this was doable. But it isn’t? Only logged in users can update post content?

    @vfhwebdev

    Let me test on a local dev site and get back to you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Creates new post instead of updating’ is closed to new replies.