Contact Form 7 – Dynamic Text Extension Released

Sorry, comments are closed due to ridiculous amounts of sp*m. Please use the WordPress.org forums for support. Thanks! I’ve just released my first WordPress Plugin: Contact Form 7 – Dynamic Text Extension. I’ve used the Contact Form 7 Plugin several times on my own sites and on client sites. It’s an excellent, highly flexible plugin.…

Written by

Chris Mavricos

Published on

October 11, 2010
BlogCode · Free Stuff · WordPress · WordPress Plugins
Sorry, comments are closed due to ridiculous amounts of sp*m. Please use the WordPress.org forums for support. Thanks!

I’ve just released my first WordPress Plugin: Contact Form 7 – Dynamic Text Extension.

I’ve used the Contact Form 7 Plugin several times on my own sites and on client sites. It’s an excellent, highly flexible plugin. But I recently needed to populate the form dynamically, and found this functionality was not build in to the plugin.

I found other people with similar issues. Several possible solutions are suggested in this thread, Contact Form 7 Input Fields Values as PHP Get-Viarables, but they are all hacks and involve changing the Contact Form 7 code, which is bad for a variety of reasons. The new plugin provides a better solution, hooking into Contact Form 7’s API and adding a new input type: Dynamic Text. This input type takes a shortcode-style input that is evaluated at run time, so it can be completely dynamic.

For example, say you have a GET parameter in the URL that you want to use to populate the contact form. You just set the Dynamic Text field up with the included shortcode and GET key, and the value will automatically be populated. Cool! Better yet, the plugin will work with any shortcode that returns a valid text string, so you can easily extend the plugin just by writing your own shortcodes. Awesome!

Anyway, the plugin is now available through WordPress.org. Let me know if it helps you out!

Download the Plugin Donate

Chris Mavricos

Hi, I'm Chris. I'm a web developer and founder of SevenSpark located in Boulder, CO. I've been developing websites since 2004, and have extensive experience in WordPress theme, plugin, and custom development over the last 15+ years.