It's certainly possible, but it's not something Gravity Forms is going to do for you without some work on your part. Practically anything is possible with Gravity Forms through the use of it's wide array of hooks and filters.
This particular customization could be done through the use of the 3rd party Gravity Forms Custom Post Types Add-On and then the bulk of the work would actually be theme customization related.
Here is what I suggest:
1) Create a custom post type specifically for these posts. You'll have to decide what to name the custom post type based on what you are trying to accomplish. It could be Submissions, User Submissions, whatever. If you aren't familiar with custom post types, you may need to read up on them and their usage. This would allow you to create posts that don't get displayed with your blog posts and are for this specific use only.
Custom Post Types are explained in the codex here:
A good plugin to create and manage custom post types can be found here:
2) Install the 3rd party Gravity Forms Custom Post Types Add-On. This will allow you to create a form that creates a post that is stored as the custom post type you create in #1 above. This plugin can be found here:
3) Create your Gravity Form using the fields you want. Use the Post Fields for the post related data. Utilize the options added by the custom post types add-on mentioned in #2 above to tell Gravity Forms to store the post as the custom post type you crease in #1 above.
Add a Post Custom Field to this form. Edit it and select the field type of Hidden and give it a field label of Parent Post and a new custom field name of parentid. See this screenshot:
On your Parent Post custom field, select the Advanced tab and in the Default Value field select the embed post/page id variable from the insert variable drop down directly above the Default Value input. That will insert the merge tag for the post/page id the form is submitted from. See this screenshot:
Now your form will create a custom post type post which will include a custom field with the name parentid that stores the post id of the post the form was submitted from.
4) This is where the heavy lifting comes in. Create a custom theme template. Where you want these user submissions to appear, you will have to create a WordPress loop that outputs all the posts from the custom post type you created where the custom field with the name parentid is equal to the post id of the current post.
You will have to have an understanding of how WordPress works, primarily theme related functionality, in order to do the above. But that's a high level overview of what you would need to do to accomplish what you want to do.
Posted 3 years ago on Saturday December 3, 2011 | Permalink