Title: URL QUERY VARIABLE Help
Last modified: August 21, 2016

---

# URL QUERY VARIABLE Help

 *  Resolved [cdemz](https://wordpress.org/support/users/cdemz/)
 * (@cdemz)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/url-query-variable-help/)
 * Does the URL Query Variable below allow me to create a link to an existing form
   that will populate it from a previous entry?
 *     ```
       do_action('gform_update_post/edit_link');
   
       do_action('gform_update_post/edit_link', array(
           'post_id' => $post->ID,
           'url'     => home_url('/edit_post/')
       ) );
       ```
   
 * I am trying to take a form that is filled out by one person and on submission
   email another person with the link to that form (prefilled) so that they can 
   continue filling out the form.
 * [https://wordpress.org/plugins/gravity-forms-post-updates/](https://wordpress.org/plugins/gravity-forms-post-updates/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Jupitercow](https://wordpress.org/support/users/jcow/)
 * (@jcow)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/url-query-variable-help/#post-5107411)
 * The action echos the link to the page. The only way to use it to get a link for
   emailing would be to output buffer it using `ob_start()` and `ob_get_clean()`,
   for example.
 *  Plugin Author [Jupitercow](https://wordpress.org/support/users/jcow/)
 * (@jcow)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/url-query-variable-help/#post-5107413)
 * You could use the new filter I added to get the URL:
    [https://bitbucket.org/jupitercow/gravity-forms-update-post#markdown-header-get-just-the-url](https://bitbucket.org/jupitercow/gravity-forms-update-post#markdown-header-get-just-the-url)
 * `apply_filters( 'gform_update_post/edit_url', $post->ID, home_url('/edit_post/'));`

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘URL QUERY VARIABLE Help’ is closed to new replies.

 * ![](https://ps.w.org/gravity-forms-post-updates/assets/icon-256x256.jpg?rev=1180041)
 * [Gravity Forms: Post Updates](https://wordpress.org/plugins/gravity-forms-post-updates/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gravity-forms-post-updates/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gravity-forms-post-updates/)
 * [Active Topics](https://wordpress.org/support/plugin/gravity-forms-post-updates/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gravity-forms-post-updates/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gravity-forms-post-updates/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Jupitercow](https://wordpress.org/support/users/jcow/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/url-query-variable-help/#post-5107413)
 * Status: resolved