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.

Pass Post Title to Form Field in Query String

  1. I have some forms on posts on my site (not live I am afraid). The user fills in the form but I also want to auto populate the form with the title of the post that they are on.

    I believe this can be done by passing the post title as a query string in the link to the form? Could anyone point me in the direction of a tutorial that will help me implement this both with the link to the form and how to set the form up to accept the query string and output the post title.

    Thanks in advance for your time.

    Posted 14 years ago on Thursday August 12, 2010 | Permalink
  2. Here is a the option you'll want to activate on the post title field:

    http://dl.dropbox.com/u/689144/gravityforms/post-title-dynamic-population.png

    And a sample URL to pass the post title to a form with such a field would be something like:

    http://www.yoururl.com/your-form/?post_title=Your Post Title Here

    Hope that helps!

    Posted 14 years ago on Thursday August 12, 2010 | Permalink
  3. That is exactly what I was looking for - thanks!

    Posted 14 years ago on Thursday August 12, 2010 | Permalink

This topic has been resolved and has been closed to new replies.