Is it possible to edit a post using a GF form?
Is it possible to edit a post using a GF form?
It's possible, but it isn't a built in feature. It would require extensive customizations to pull it off. Gravity Forms is designed to create data and posts, not replace the built in WordPress post editor.
If yes, how? Does anyone has tried it out?
Yes, i'm aware of people that have done it. You have to pre-populate the form with the existing post data and then when the form is submitted you have to manually update the existing post with the updated information and then delete the new post that is created by he new form. I don't recommend it. It would be an advanced customization and it would probably be easier just to create your own custom solution to edit an existing post or use role management plugins to give them access to edit their posts in the WordPress dashboard.
Carl
I understand that you do not recommend it but if I want to "manually update the existing post with the updated information and then delete the new post "? Can i assume that we can update the original entry using the gform_pre_submission hook and not save the new entry at all?
Currently I have done the first part - "pre-populate the form with the existing post data". The problem is that if I have fields use the unique feature I cannot save the new entry because the data is the same as the existing entry. So I need a way to be able to do both - use the unique feature and edit data from a current post.
Thanks in advance
You would have to write PHP using the submission hooks to update the existing entry. You would have to do this manually. The alternative is to delete the old entry and create a new entry. So you would pre-populate the form, when it's submitted it would delete the old entry and then a new entry would be created.