Title: Dynamic Form from Custom Post Type
Last modified: August 22, 2016

---

# Dynamic Form from Custom Post Type

 *  [tonycoll91](https://wordpress.org/support/users/tonycoll91/)
 * (@tonycoll91)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/dynamic-form-from-custom-post-type/)
 * Hey guys I need help! I’m in the middle of a project and I can’t seem to figure
   out how to add dynamic content to my contact form 7 page, access by a custom 
   post type.
 * Here is my scenario. I have a listing of many of people created by a custom post
   type. When you click on a persons name it brings you to a page with more information
   on them. The title of the page is the persons name. There is a button that links
   to the contact form. That contact form has an input where the visitor is required
   to input a persons name in order to submit the form. I would like that particular
   field in the cf7 to be dynamically filled with the title from the page the button
   was on.
 * The custom template I made makes each person in my list to use the default template(
   page.php I believe). I cant figure out how to use GET or POST because I’m using
   friendly urls.
 * How can I push the title from the page the button for the cf7 is on to the actual
   contact form 7? Overall, on the custom page template, I want to somehow save 
   the name of the person (aka the_title()) and be able to access it on the page
   the button href sends you to.
 * If you need additional info just ask. Thank you for the help in advance.

Viewing 1 replies (of 1 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/dynamic-form-from-custom-post-type/#post-5224140)
 * Support page for cf7:
    [http://wordpress.org/support/plugin/contact-form-7](http://wordpress.org/support/plugin/contact-form-7)

Viewing 1 replies (of 1 total)

The topic ‘Dynamic Form from Custom Post Type’ is closed to new replies.

## Tags

 * [custom post](https://wordpress.org/support/topic-tag/custom-post/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/dynamic-form-from-custom-post-type/#post-5224140)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
