Skip to main content
Agency Program Hosting from 10% off. A dedicated account manager. Priority support. Built for growing agencies. Hosting from 10% off, a dedicated account manager and priority support for growing agencies. Speak to the team Join free
Contact Form 7 – Dynamic Text Extension icon

Contact Form 7 – Dynamic Text Extension

v5.0.7
by sevenspark · 4.7 (99 reviews)

This plugin provides additional form tags for the Contact Form 7 plugin. It allows dynamic generation of content for text-based input fields like text …

100K+ active installs Updated Aug 04, 2026 Tested to 7.0.9 Requires PHP 7.4
Try Demo Download
Pre-installed Ready in ~10s No card
Contact Form 7 – Dynamic Text Extension

About Contact Form 7 – Dynamic Text Extension

Contact Form 7 - Dynamic Text Extension (DTX) is a WordPress plugin that enhances the functionality of the Contact Form 7 plugin. It allows you to create dynamic contact forms with pre-populated fields pulled from various sources such as URLs, post IDs, user information, and more. The plugin also supports different types of form fields, including email, URL, phone numbers, checkboxes, and dropdown menus. It is compatible with caching plugins and provides options for obfuscating values and setting form fields as read-only.

Screenshots

Contact Form 7 – Dynamic Text Extension screenshot
Contact Form 7 – Dynamic Text Extension screenshot
Contact Form 7 – Dynamic Text Extension screenshot
Contact Form 7 – Dynamic Text Extension screenshot
Contact Form 7 – Dynamic Text Extension screenshot
Contact Form 7 – Dynamic Text Extension screenshot
Contact Form 7 – Dynamic Text Extension screenshot
Contact Form 7 – Dynamic Text Extension screenshot
Contact Form 7 – Dynamic Text Extension screenshot
Contact Form 7 – Dynamic Text Extension screenshot
Contact Form 7 – Dynamic Text Extension screenshot
Contact Form 7 – Dynamic Text Extension screenshot
Contact Form 7 – Dynamic Text Extension screenshot
Contact Form 7 – Dynamic Text Extension screenshot

Frequently asked questions

What does the Contact Form 7 – Dynamic Text Extension plugin do?
This plugin provides additional form tags for the Contact Form 7 plugin, allowing dynamic generation of content for text-based input fields. It enhances Contact Form 7 by adding dynamic content capabilities, enabling pre-populated fields pulled from various locations.
What types of fields can DTX dynamically populate?
DTX can dynamically populate text, hidden, email, URL, tel, number, range, textarea, drop-down menu, checkboxes, radio buttons, date, and submit fields. Previously, it only handled text and hidden input types.
What are some examples of dynamic content DTX can provide?
DTX can auto-fill URLs, post IDs, titles, slugs, current page information, product numbers, and user information. It can also populate fields with custom and meta fields, generate unique identifiers, and get values from cookies or custom theme modifications.
Can I use custom shortcodes with DTX?
Yes, you can write custom shortcodes to populate fields. Any shortcode that returns a string or numeric value can be used with DTX.

Changelog

5.0.7

Release Date: 08/03/2026

  • Update: the name of this plugin was changed from “Contact Form 7 – Dynamic Text Extension” to “DTX – Dynamic Text Extension for Contact Form 7” to comply with the plugin guideline #17 set by WordPress and to respect the trademarks and copyrights of the plugin Contact Form 7 by Takayuki Miyoshi and Rock Lobster Inc.
  • Update: the menu item for the settings page was changed from “Dynamic Text Extension” to simply “DTX”.
  • Security: Disallowed direct file access for files that had it missing.
  • Security: Added escaping to more dynamic strings.
  • Optimization: Added a setting callback to sanitize the array object
  • Internationalization: addressed incidences where the text domain was not set or incorrect.
  • Update: Added a “None found” message in the form scan when no results were found.
  • Update: Gave the scan button on the settings page a secondary button style.

5.0.6

Release Date: 06/05/2026

Special thanks to Shane Hollis (@webkiwinz) for these security fixes!

  • Security: Fixed stored XSS in admin scan results page; form titles and shortcode key names were echoed without HTML escaping. This addresses security vulnerability CVE-2026-5116 responsibly reported by Satyarth Prakash to Wordfence.
  • Security: Fixed CSRF vulnerability on notice dismissal; dismiss-access-keys-notice action now requires a valid nonce.
  • Security: Fixed unsanitised $_GET['offset'] parameter; now it’s always cast to a non-negative integer before use.
  • Security: Fixed potential regex injection in JavaScript get_cookie(); cookie key is now escaped before use in a regex pattern.
  • Fix: Fixed switch fall-through logic bug in wpcf7dtx_get_current_var(); missing break statements caused user/term/archive context data to be overwritten by post context data.

Note from Tessa: the AJAX nonce validation that checks !== 1 was intentional to only target the first 12-hour window to be more strict. That AJAX call was intended to run once on page load, so allowing the validation to persist beyond 12 hours is unnecessary.

5.0.5

Release Date: 02/17/2026

  • Fix: Fixed a type-o in nonce verification where it compared the value against 0 instead of 1, see support thread.

5.0.4

Release Date: 01/01/2026

  • Security: Addressed security vulnerability CVE-2025-13146 responsibly reported by NosleeP++ to Wordfence. Thank you NosleeP++! The JavaScript Fetch/AJAX request now includes nonce verification.

5.0.3

  • Fix: Moved settings translations to load as needed instead of immediately hoping to address the Function _load_textdomain_just_in_time was called incorrectly notice added in WordPress core version 6.7, see support thread.

Older Releases

Please see our additional changelog.txt file

Try other plugins

Yoast SEO icon

Yoast SEO

4.8 · 10M+ installs

Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the Yoast SEO…