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.

Embed Post Title into email form

  1. Hiya guys,

    I've got a very basic form embedded on a single-post.php template file. What I'd like to do is have Gravity Forms submit the post title along with the information entered by the visitor.

    What would be the best way to do this? Is there anyway to include the post ID and permalink automatically so the visitor doesn't need to?

    Thanks for an incredibly powerful plugin!

    Posted 13 years ago on Saturday December 11, 2010 | Permalink
  2. - Add a Hidden field to your form
    - Edit the Hidden field and give it a name (ex. Post Title)
    - Go to the Advanced tab when editing the Hidden field
    - Select "Embed Post Title" from the insert variable drop down for the Default value

    This will now save that hidden field with the value set as the Post Title for the page the form is embedded on.

    Add other hidden fields for other values you want to store. Embed Post/Page ID and Embed URL are 2 other embed related variables.

    Posted 13 years ago on Monday December 13, 2010 | Permalink
  3. Genius. Worked like a charm! Love this plugin more and more every time.

    Thanks for walking me though this Carl.

    Posted 13 years ago on Monday December 13, 2010 | Permalink