Skip to main content
Agency Program Get 2× more leads and save 50% on hosting. Built for agencies ready to grow. Book a call
Contact Form 7 – Dynamic Text Extension icon

Contact Form 7 – Dynamic Text Extension

v5.0.2
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 Nov 30, 2024 Tested to 6.7.2 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.2

  • Security: Addressed security vulnerability responsibly reported by Rafie Muhammad to Patchstack.

5.0.1

  • Fix: updated the wpcf7dtx_format_atts() function to only include attributes with string values if the string exists to avoid adding empty attributes like id where they are supposed to be unique, see support thread.
  • Update: updated getting dynamic attributes to be more consistent across handler functions.
  • Fix: Marked compatible with WordPress core version 6.7.

5.0.0

4.5.1

  • Security: Addressed security vulnerability #352992 responsibly reported by Francesco Carlucci to Wordfence. Thank you Carlucci. All built-in shortcodes now check for appropriate access and user permissions before returning information from any post.
  • Translation: Added I18N improvements by alexclassroom, thanks!

4.5.0

  • Feature: Added the hidden field _wpcf7dtx_version to include the current version of this plugin automatically in forms. It can be accessed via $_POST in wpcf7_before_send_mail hook or viewed in the page’s source code along with Contact Form 7’s other default hidden fields.
  • Minor: Allowed images to be added in checkbox and radio button options, see support thread.
  • Fix: Addressed the bug that prevented textarea fields to use placeholders, 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…