Last Updated on July 24, 2018 by Neil Murray
http://wordpress.org/plugins/contact-form-7-dynamic-text-extension/
Contact Form 7 is an excellent WordPress plugin, and the CF7 DTX Plugin makes it even more awesome by adding dynamic content capabilities. While default values in Contact Form 7 are static. CF7 DTX lets you create pre-populated fields based on other values. Some examples might include:
Auto-filling a URL
Auto-filling a Post ID, title, or slug
Pre-populating a Product Number
Referencing other content on the site
Populating with post info
Populating with user info
Populating with custom fields
Any value you can write a shortcode for
There are many more case-specific examples. I searched for a solution, and there are some decent hacks out there. Many of them are explored in this forum topic: Contact Form 7 Input Fields Values as PHP Get-Viarables. However, they all involved hacking the current Contact Form 7 code, which means next time the plugin is updated their edits will be overwritten. That’s bad.
This Dynamic Text Extension plugin provides a more elegant solution that leaves the Contact Form 7 Plugin intact.
See also http://sevenspark.com/tutorials/how-to-create-a-counter-for-contact-form-7
See also http://sevenspark.com/code/how-to-create-a-dynamic-wordpress-contact-form