Contact Form 7 – Dynamic Text Extension
🎨 Contact Form 7 – Dynamic Text Extension
WPThemeDetector has detected that Contact Form 7 – Dynamic Text Extension is a popular WordPress plugin, which is expertly developed by the talented author named ! It has an impressive 4.7 out of 5 ratings (based on 99 user reviews), with up to 100000 number of downloads, showcasing its wide user base and trust. : This plugin infomation is last updated on July 1, 2025.
Download Plugin Best Web HostingIn this section, WPThemeDetector provides detailed information about the WordPress plugin Contact Form 7 – Dynamic Text Extension, including the plugin’s author, the latest version, user reviews & ratings, downloads, screenshots, etc.
Plugin Name | Contact Form 7 – Dynamic Text Extension 🔗 |
Popularity | Active Installs: 100000🔹Star Ratings: 4.7 out of 5 🔹User Reviews: 99 |
More Info | Current Version: 5.0.2🔹Author: 🔹Last Updated On: November 30, 2024🔹Required WP: 5.5🔹Required PHP: 7.4 |
Tags | autofill, contact form 7, dynamic form, form field, prepopulate |
Description | Contact Form 7 is an excellent WordPress plugin and one of the top choices of free WordPress plugins for contact forms. Contact Form 7 – Dynamic Text Extension (DTX) makes it even more awesome by adding dynamic content capabilities. While default values in Contact Form 7 are static, DTX lets you create pre-populated fields pulled from other locations. Some examples might include:
The possibilities are endless! For over 10 years, DTX only handled
WHAT DOES IT DO?DTX provides flexibility to WordPress users in creating dynamic forms in Contact Form 7. DTX comes with several built-in shortcodes that will allow the contact form to be populated from HTTPS GET variable or any info from the Don’t see the shortcode you need on the list? You can write a custom one! Any shortcode that returns a string or numeric value can be used here. The included shortcodes just cover the most common scenarios, but DTX provides the flexibility for you to grab any value you have access to programmatically. Dynamic ValueThe bread and butter of this plugin, set a dynamic value! This field can take any shortcode, with two important provisions:
Dynamic PlaceholderSet a dynamic placeholder with this attribute! This feature accepts static text or a shortcode. If using a shortcode, the same syntax applies from the dynamic value field. However, this field also has a few more needs:
If you’re using Contact Form 7’s tag generator to create the form tag, those extra needs are already taken care of. Dynamic placeholders are not available for dynamic hidden form tags. Learn more and see examples from the DTX Knowledge base. Compatible with Caching PluginsDTX is cache friendly! You can set a field to be calculated after the page loads by setting the Many websites use caching plugins to optimize for performance. If your website caches the HTML of the form, then any dynamic form fields you have get their first calculated value cached alongside it. This becomes an issue if you’re using DTX to pull values from a cookie or the current URL’s query string. This is best for dynamic form fields that:
For dynamic fields that are page-specific, it’s perfectly safe to cache those values. For example, dynamic form fields that:
Note: Enabling a dynamic field to be calculated after the page loads will add frontend JavaScript. Depending on the shortcode used as the dynamic value, an AJAX call to the server may be sent to be processed. The script is minified and loaded in the footer and is deferred, minimizing impact on site performance and the AJAX calls are called asynchronously to avoid being a render-blocking resource and minimizing main-thread work. The script itself can be safely cached too. Learn more and see examples from the DTX Knowledge base. Read Only Form FieldsCheck this box if you do not want to let users edit this field. It will add the Obfuscate Values for Enhanced PrivacyIf you’re pre-filling a form field with an email address, bots can scrape that value from the page and use it for spam. You can add an additional layer of protecting by obfuscating the value, which turns each character into it’s ASCII code. To the human eye, it looks like the character it’s supposed to be because browsers will render the ASCII code, but for bots, it won’t look like an email address! HOW TO USE ITAfter installing and activating the plugin, you will have 2 new tag types to select from when creating or editing a Contact Form 7 form: the dynamic text field and dynamic hidden field. Most of the options in their tag generators will be familiar to Contact Form 7 users but there have been some upgrades. How to Obfuscate ValuesAll of the shortcodes included with the DTX plugin allow the The Contact Form 7 tag with obfuscation turned on would look like this: How to Enable Cache-Friendly ModeAll of the dynamic form tags can be enabled for processing on the frontend of the website, or the client-side, by adding the In the form editor of Contact Form 7, your form tag would look like: If using the tag generator, it’s as simple as checking a box! INCLUDED SHORTCODESThe plugin includes several shortcodes for use with the Dynamic Text Extension right out of the box. You can write your own as well—any self-closing shortcode will work, even with attributes! Current URL or PartRetrieve the current URL: In the form editor of Contact Form 7, your form tag would look like: Optional parameter: Host: Just the domain name and tld Query: The query string after the ?, if one exists Path: The URL path, for example, /contact, if one exists Learn more and see examples from the DTX Knowledge base. Referrer URLGet the referral URL, if it exists. Note that this is not necessarily reliable as not all browsers send this data. CF7 Tag: Learn more and see examples from the DTX Knowledge base. Current Page VariablesRetrieve information about the current page that the contact form is displayed on. Works great for use in templated areas like the site header, footer, widget, or sidebar! The shortcode works as follows: Built-in shortcode: Required attribute: Possible values for
For pages that use a For author pages, this acts as an alias for In the form editor of Contact Form 7, your form tag’s value could look like: And then the full form tag would be: Learn more and see examples from the DTX Knowledge base. Post/Page InfoRetrieve information about the current post or page (must be for a WP_POST object) that the contact form is displayed on. The shortcode works as follows:
You can also retrieve any parameter from the global The Contact Form 7 Tag would look like: Need to pull data from a different post/page? Not a problem! Just specify it’s post ID like this: Dynamic value: Contact Form 7 Tag: Learn more and see examples from the DTX Knowledge base. Post Meta & Custom FieldsRetrieve custom fields from the current post/page. Just set the custom field as the key in the shortcode. Note: You must add any meta keys that you want to allow access to to the allow list in your admin panel > Contact > Dynamic Text Extension > Meta Key Allow List. More Information The dynamic value input becomes: And the tag looks like this: For the purposes of including an email address, you can obfuscate the custom field value by setting obfuscate=’on’ in the shortcode like this: Learn more and see examples from the DTX Knowledge base. Featured Images & Media AttachmentsRetrieve the current post’s featured image, the featured image of a different page, or any attachment from the Media Library with this shortcode! The base shortcode is simply: By setting the By setting the By setting the Want to return the attachment ID instead of the URL? Also not a problem! Just set Most of the optional attributes can be used at the same time. For example, if I wanted to retrieve the attachment ID of a featured image for a different post, then the dynamic text form tag would look like this: If I wanted to get a specific image at a specific size, I can use this: The only two attributes that can’t play together is Learn more and see examples from the DTX Knowledge base. Current User Info & User MetaGet data about the current logged-in user. Dynamic value: Note: You must add any user keys that you want to allow access to to the allow list in your admin panel > Contact > Dynamic Text Extension > User Data Key Allow List. More Information Valid values for
But also custom meta user keys! For the purposes of including an email address, you can obfuscate the value by setting obfuscate=’on’ in the shortcode like this: Learn more and see examples from the DTX Knowledge base. Site/Blog InfoWant to grab some information from your blog like the URL or the site name? Use the Enter the following into the “Dynamic Value” input: Your Content Form 7 Tag will look something like this: Your form’s dynamicname text input will then be pre-populated with your site’s URL Learn more and see examples from the DTX Knowledge base. Theme OptionsWant to retrieve values from your active theme’s Customizer? Now you can with the Learn more and see examples from the DTX Knowledge base. HTTP GET VariablesWant to use a variable from the PHP Enter the following into the “Dynamic Value” input: Your Content Form 7 Tag will look something like this: Your form’s dynamicname text input will then be pre-populated with the value of Learn more and see examples from the DTX Knowledge base. HTTP POST VariablesGrab variables from the PHP Dynamic value: Your Content Form 7 Tag will look something like this: Learn more and see examples from the DTX Knowledge base. Cookie ValuesIf your WordPress website uses cookies, you might want to pull the value of a specific cookie into a form. You can do that with the Dynamic value: Your Content Form 7 Tag will look something like this: Learn more and see examples from the DTX Knowledge base. GUIDGenerate a globally unique identifier (GUID) in a form field. This is a great utility shortcode for forms that need unique identifiers for support tickets, receipts, reference numbers, etc., without having to expose personally identifiable information (PII). This shortcode takes no parameters: In the form editor of Contact Form 7, your form tag would look like: Learn more and see examples from the DTX Knowledge base. continue reading... |
Screenshot | ![]() |
Plugin Homepage | Download This Plugin |
Contact Form 7 – Dynamic Text Extension Website Examples
WP Theme Detector analyzes public information on WordPress websites. Information may not be 100% accurate. Some plugins cannot be detected, and others have poor detection accuracy. It is cached for a certain period to reduce load.
🔥Recommended WordPress resources
WordPress is a versatile and powerful platform, and creating a website in 2025 requires the right resources. Here are some recommended tools to help you make the most of your WordPress journey: