PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Insert Form Field - updates to post

  1. snomo
    Member

    I'm using the "Insert Form Field" in a form with the following Gravity Forms code to insert the fields in a post using the Create Content Template option.

    {Post Body:11} {Post Image:7:medium}
    <B>Event Name: </B> {Event Name:1}
    Event Date: {Date of Event:2}
    Event Name: {Event Name:6} | Post Date: {date_mdy}

    {Event Description:12}

    {all_fields:admin:value}

    This works very well and allows these fields to be submitted directly into a post. However, when I update the post, the form values do not change and when I use the form to update these fields, the post does not change.

    How does one keep the updates synced when using this feature?

    Thanks

    Posted 13 years ago on Tuesday October 18, 2011 | Permalink
  2. snomo
    Member

    still stumped on this one...

    Posted 13 years ago on Tuesday October 18, 2011 | Permalink
  3. Once the post is created, there is no connection with the form entry. Editing the post will not change the form entry, and editing the form entry will not update the post.

    Posted 13 years ago on Wednesday October 19, 2011 | Permalink
  4. snomo
    Member

    That's what I've come to conclude. Theoretically, there should be a way to accomplish this though right? I'm not opposed to having a customized feature developed for this but not sure how to spec this out. Any direction to keep the development of this feature efficient?

    Along the same lines, I built a form today using the "category" option in the Post Fields menu. What I'd like to do is extend this feature to operate just as it does now, self populating with my WP post categories, but with a heirarchy of three levels of category; category>sub-category>niche-category. I'd like to include my three levels as a selectable item in three menus on the form so that when a specific category is selected, the available sub categories change, then when a sub-category is selected, the available niche-categories change. I have over 600 niche categories, spread across 50 or so sub-categories, spread across 8-10 categories. Is this possible with Gravity forms? I have a feeling it too is a custom enhancement but surely someone's done this before. I want to figure out an efficient way to have this developed as well and I am looking for direction to keep this simple, straightforward and interchangeable amongst themes.

    Thanks!!

    Posted 13 years ago on Wednesday October 19, 2011 | Permalink
  5. We're going to stick to one topic per topic. Please start a separate topic for your second paragraph.

    Regarding the first paragraph, theoretically yes, it's possible. You will need to have two customizations: one to update the entry when the post is updated, and the other to update the post if the entry is updated. If you can restrict editing the posts, and just edit the entries, it will be a lot easier to maintain going forward. Make it a policy to always edit the entry, and then the post will be updated with new information.

    You will have to use an admin hook, and update the post when an entry is updated. Here are all the admin hooks:
    http://www.gravityhelp.com/documentation/page/Developer_Docs#Administration

    Posted 13 years ago on Wednesday October 19, 2011 | Permalink