• Resolved kylebjork

    (@kylebjork)


    Does the Advanced Forms plugin allow you to pre-populate a form with data from a specific post and allow the user to edit this on the front end and then save it (or submit it)?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Heyy

    I stuck with the same issue.Please share if you got any solution regarding this.

    Thread Starter kylebjork

    (@kylebjork)

    I found a plug-in on codecanyon called ACF front form. After a few modifications to my functions.php file it works great. It works with the post title, content, and any custom Fields you have set up with Advanced custom fields.

    Plugin Author fabianlindfors

    (@fabianlindfors)

    Hi!

    You might be glad to hear that a pro version of Advanced Forms soon will be released which includes the ability to set up a form to create and update posts and users automatically.

    The plugin doesn’t currently come with this functionality built-in but it’s quite easy to achieve if you’re willing to write a bit of code. There is guide in the documentation detailing how to create a form which can create posts on submissions, you can find it here: https://advancedforms.github.io/guides/advanced/setting-up-a-form-to-create-posts/. Now instead of creating a post you could pass an existing post ID either as a hidden field or as parameter on the form and then use that to update the post data. I would recommend either using the action af/form/hidden_fields or the filter af/form/before_render for passing the post ID, both are documented.

    Hope this helps!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Front End Editing’ is closed to new replies.