Title: [Plugin: Gravity Forms &#8211; Update Post] how do I initialize form before update
Last modified: August 20, 2016

---

# [Plugin: Gravity Forms – Update Post] how do I initialize form before update

 *  [ramey](https://wordpress.org/support/users/ramey/)
 * (@ramey)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-gravity-forms-update-post-how-do-i-initialize-form-before-update/)
 * I want to include some information from the post being updated on the post update
   page. For this I need the post_id. Where do I get this from? To illustrate, I
   would like the following page display ghe form and the post id.
 *     ```
       [gravityform id="1" name="Library Submission" title="false"]
   
       <?php
       echo $post_id;
       ?>
       ```
   
 * Robert Ramey
 * [http://wordpress.org/extend/plugins/gravity-forms-update-post/](http://wordpress.org/extend/plugins/gravity-forms-update-post/)

The topic ‘[Plugin: Gravity Forms – Update Post] how do I initialize form before
update’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/gravity-forms-update-post_68a432.
   svg)
 * [Gravity Forms - Update Post](https://wordpress.org/plugins/gravity-forms-update-post/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gravity-forms-update-post/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gravity-forms-update-post/)
 * [Active Topics](https://wordpress.org/support/plugin/gravity-forms-update-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gravity-forms-update-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gravity-forms-update-post/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [ramey](https://wordpress.org/support/users/ramey/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-gravity-forms-update-post-how-do-i-initialize-form-before-update/)
 * Status: not resolved