{"id":41197,"date":"2010-10-11T08:00:00","date_gmt":"2010-10-11T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/contact-form-7-dynamic-text-extension\/"},"modified":"2025-03-04T01:16:00","modified_gmt":"2025-03-04T01:16:00","slug":"contact-form-7-dynamic-text-extension","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/contact-form-7-dynamic-text-extension\/","title":{"rendered":"Contact Form 7 \u2013 Dynamic Text Extension"},"content":{"rendered":"<p>Contact Form 7 is an excellent WordPress plugin and one of the top choices of free WordPress plugins for contact forms. Contact Form 7 \u2013 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:<\/p>\n<ul>\n<li>Auto-filling a URL or just getting the domain name or path<\/li>\n<li>Auto-filling a post ID, title, or slug<\/li>\n<li>Auto-filling a title, URL, or slug for the current page<\/li>\n<li>Pre-populating a product number<\/li>\n<li>Referencing other content on the site<\/li>\n<li>Populating with post or page info<\/li>\n<li>Populating with the current user\u2019s info<\/li>\n<li>Populating with custom and meta fields<\/li>\n<li>Generating unique identifiers for support tickets<\/li>\n<li>Getting a list of post categories or other custom taxonomies<\/li>\n<li>Getting a value from a cookie<\/li>\n<li>Getting custom theme modifications<\/li>\n<li>Any value using custom shortcodes<\/li>\n<\/ul>\n<p>The possibilities are endless!<\/p>\n<p><a href=\"https:\/\/wordpress.org\/plugins\/contact-form-7-dynamic-text-extension\/?preview=1\" rel=\"ugc\">View Demo<\/a><\/p>\n<p>For over 10 years, DTX only handled <code><input type=\"text\" \/><\/code> and <code><input type=\"hidden\" \/><\/code> form fields, but version 4 finally introduces more:<\/p>\n<ul>\n<li>email<\/li>\n<li>URL<\/li>\n<li>tel (for phone numbers)<\/li>\n<li>number<\/li>\n<li>range (slider)<\/li>\n<li>textarea (multiline text)<\/li>\n<li>drop-down menu (select field)<\/li>\n<li>checkboxes<\/li>\n<li>radio buttons<\/li>\n<li>date<\/li>\n<li>submit (yes, a submit button where you can have dynamic text!)<\/li>\n<\/ul>\n<h3>WHAT DOES IT DO?<\/h3>\n<p>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 <code>get_bloginfo()<\/code> function, among others. See below for included shortcodes.<\/p>\n<p>Don\u2019t see the shortcode you need on the list? You can write a <a href=\"https:\/\/aurisecreative.com\/docs\/contact-form-7-dynamic-text-extension\/shortcodes\/custom-shortcodes\/?utm_source=wordpress.org&utm_medium=link&utm_campaign=contact-form-7-dynamic-text-extension&utm_content=readme\" rel=\"nofollow ugc\">custom one<\/a>! 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.<\/p>\n<h4>Dynamic Value<\/h4>\n<p>The bread and butter of this plugin, set a dynamic value! This field can take any shortcode, with two important provisions:<\/p>\n<ol>\n<li>The shortcode should NOT include the normal square brackets (<code>[<\/code> and <code>]<\/code>). So, instead of <code>[CF7_GET key='value']<\/code> you would use <code>CF7_GET key='value'<\/code>.<\/li>\n<li>Any parameters in the shortcode must use single quotes. That is: <code>CF7_GET key='value'<\/code> and not <code>CF7_GET key=\"value\"<\/code><\/li>\n<\/ol>\n<h4>Dynamic Placeholder<\/h4>\n<p>Set 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:<\/p>\n<ol>\n<li>The text\/shortcode must first have apostrophes converted to it\u2019s HTML entity code, <code>'<\/code><\/li>\n<li>After that, it must be URL encoded so that spaces become <code>%20<\/code> and other non-alphanumeric characters are converted.<\/li>\n<\/ol>\n<p>If you\u2019re using Contact Form 7\u2019s 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.<\/p>\n<p>Learn more and see examples from <a href=\"https:\/\/aurisecreative.com\/docs\/contact-form-7-dynamic-text-extension\/shortcodes\/dtx-attribute-placeholder\/?utm_source=wordpress.org&utm_medium=link&utm_campaign=contact-form-7-dynamic-text-extension&utm_content=readme\" rel=\"nofollow ugc\">the DTX Knowledge base<\/a>.<\/p>\n<h4>Compatible with Caching Plugins<\/h4>\n<p>DTX is cache friendly! You can set a field to be calculated after the page loads by setting the <code>dtx_pageload<\/code> attribute to any dynamic form tag.<\/p>\n<p>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\u2019re using DTX to pull values from a cookie or the current URL\u2019s query string.<\/p>\n<p>This is best for dynamic form fields that:<\/p>\n<ul>\n<li>gets the current URL<\/li>\n<li>gets a value from the URL query<\/li>\n<li>gets a value from a cookie<\/li>\n<li>gets the current user\u2019s info<\/li>\n<li>generates a unique identifier (GUID)<\/li>\n<\/ul>\n<p>For dynamic fields that are page-specific, it\u2019s perfectly safe to cache those values. For example, dynamic form fields that:<\/p>\n<ul>\n<li>getting the page or post\u2019s ID, title, or slug<\/li>\n<li>getting post meta for the current page<\/li>\n<li>getting the post\u2019s assigned categories, tags, or other custom taxonomy<\/li>\n<li>getting site info<\/li>\n<li>getting theme modification values<\/li>\n<\/ul>\n<p><em>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.<\/em><\/p>\n<p>Learn more and see examples from <a href=\"https:\/\/aurisecreative.com\/docs\/contact-form-7-dynamic-text-extension\/form-tag-attribute-after-page-load\/?utm_source=wordpress.org&utm_medium=link&utm_campaign=contact-form-7-dynamic-text-extension&utm_content=readme\" rel=\"nofollow ugc\">the DTX Knowledge base<\/a>.<\/p>\n<h4>Read Only Form Fields<\/h4>\n<p>Check this box if you do not want to let users edit this field. It will add the <code>readonly<\/code> attribute to the input form field. This feature is not available for dynamic hidden form tags.<\/p>\n<h4>Obfuscate Values for Enhanced Privacy<\/h4>\n<p>If you\u2019re 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\u2019s ASCII code. To the human eye, it looks like the character it\u2019s supposed to be because browsers will render the ASCII code, but for bots, it won\u2019t look like an email address!<\/p>\n<h3>HOW TO USE IT<\/h3>\n<p>After 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.<\/p>\n<h4>How to Obfuscate Values<\/h4>\n<p>All of the shortcodes included with the DTX plugin allow the <code>obfuscate<\/code> attribute that you can set to any truthy value to provide an additional layer of security for sensitive data.<\/p>\n<p>The Contact Form 7 tag with obfuscation turned on would look like this: <code>[dynamictext user_email \"CF7_get_current_user key='user_email' obfuscate='on'\"]<\/code><\/p>\n<h4>How to Enable Cache-Friendly Mode<\/h4>\n<p>All of the dynamic form tags can be enabled for processing on the frontend of the website, or the client-side, by adding the <code>dtx_pageload<\/code> attribute to the Contact Form 7 form tag.<\/p>\n<p>In the form editor of Contact Form 7, your form tag would look like: <code>[dynamictext current_url dtx_pageload \"CF7_URL\"]<\/code><\/p>\n<p>If using the tag generator, it\u2019s as simple as checking a box!<\/p>\n<h3>INCLUDED SHORTCODES<\/h3>\n<p>The plugin includes several shortcodes for use with the Dynamic Text Extension right out of the box. You can write your own as well\u2014any self-closing shortcode will work, even with attributes!<\/p>\n<h4>Current URL or Part<\/h4>\n<p>Retrieve the current URL: <code>CF7_URL<\/code><\/p>\n<p>In the form editor of Contact Form 7, your form tag would look like: <code>[dynamictext dynamicname \"CF7_URL\"]<\/code><\/p>\n<p>Optional parameter: <code>part<\/code>, which will return a parsed part of the URL.  Valid values are <code>host<\/code>, <code>query<\/code>, and <code>path<\/code><\/p>\n<p>Host: Just the domain name and tld<br \/>\n    [dynamictext host \u201cCF7_URL part=\u2019host'\u201d]<\/p>\n<p>Query: The query string after the ?, if one exists<br \/>\n    [dynamictext query \u201cCF7_URL part=\u2019query'\u201d]<\/p>\n<p>Path: The URL path, for example, \/contact, if one exists<br \/>\n    [dynamictext path \u201cCF7_URL part=\u2019path'\u201d]<\/p>\n<p>Learn more and see examples from <a href=\"https:\/\/aurisecreative.com\/docs\/contact-form-7-dynamic-text-extension\/shortcodes\/dtx-shortcode-current-url\/?utm_source=wordpress.org&utm_medium=link&utm_campaign=contact-form-7-dynamic-text-extension&utm_content=readme\" rel=\"nofollow ugc\">the DTX Knowledge base<\/a>.<\/p>\n<h4>Referrer URL<\/h4>\n<p>Get the referral URL, if it exists. Note that this is not necessarily reliable as not all browsers send this data.<\/p>\n<p>CF7 Tag: <code>[dynamictext dynamicname \"CF7_referrer\"]<\/code><\/p>\n<p>Learn more and see examples from <a href=\"https:\/\/aurisecreative.com\/docs\/contact-form-7-dynamic-text-extension\/shortcodes\/dtx-shortcode-referrer-url\/?utm_source=wordpress.org&utm_medium=link&utm_campaign=contact-form-7-dynamic-text-extension&utm_content=readme\" rel=\"nofollow ugc\">the DTX Knowledge base<\/a>.<\/p>\n<h4>Current Page Variables<\/h4>\n<p>Retrieve 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:<\/p>\n<p>Built-in shortcode: <code>CF7_get_current_var<\/code><\/p>\n<p>Required attribute: <code>key<\/code><\/p>\n<p>Possible values for <code>key<\/code> include:<\/p>\n<ul>\n<li><code>id<\/code><\/li>\n<li><code>title<\/code><\/li>\n<li><code>url<\/code> (an alias for <code>CF7_URL<\/code>)<\/li>\n<li><code>slug<\/code><\/li>\n<li><code>featured_image<\/code><\/li>\n<li><code>terms<\/code> (an alias for <code>CF7_get_taxonomy<\/code>)<\/li>\n<\/ul>\n<p>For pages that use a <code>WP_POST<\/code> object, this acts as an alias for <code>CF7_get_post_var<\/code> so those attributes work here as well.<\/p>\n<p>For author pages, this acts as an alias for <code>CF7_get_current_user<\/code> so those attributes work here as well.<\/p>\n<p>In the form editor of Contact Form 7, your form tag\u2019s value could look like: <code>CF7_get_current_var key='title'<\/code><\/p>\n<p>And then the full form tag would be: <code>[dynamictext dynamicname \"CF7_get_current_var key='title'\"]<\/code><\/p>\n<p>Learn more and see examples from <a href=\"https:\/\/aurisecreative.com\/docs\/contact-form-7-dynamic-text-extension\/shortcodes\/dtx-shortcode-current-variables\/?utm_source=wordpress.org&utm_medium=link&utm_campaign=contact-form-7-dynamic-text-extension&utm_content=readme\" rel=\"nofollow ugc\">the DTX Knowledge base<\/a>.<\/p>\n<h4>Post\/Page Info<\/h4>\n<p>Retrieve 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:<\/p>\n<pre><code>CF7_get_post_var key='title'      <-- retrieves the Post's Title\nCF7_get_post_var key='slug'       <-- retrieves the Post's Slug\n<\/code><\/pre>\n<p>You can also retrieve any parameter from the global <code>$post<\/code> object. Just set that as the <code>key<\/code> value, for example <code>post_date<\/code><\/p>\n<p>The Contact Form 7 Tag would look like: <code>[dynamictext dynamicname \"CF7_get_post_var key='title'\"]<\/code><\/p>\n<p>Need to pull data from a <em>different<\/em> post\/page? Not a problem! Just specify it\u2019s post ID like this:<\/p>\n<p>Dynamic value: <code>CF7_get_post_var key='title' post_id='245'<\/code><\/p>\n<p>Contact Form 7 Tag: <code>[dynamictext dynamicname \"CF7_get_post_var key='title' post_id='245'\"]<\/code><\/p>\n<p>Learn more and see examples from <a href=\"https:\/\/aurisecreative.com\/docs\/contact-form-7-dynamic-text-extension\/shortcodes\/dtx-shortcode-post-page-variables\/\/?utm_source=wordpress.org&utm_medium=link&utm_campaign=contact-form-7-dynamic-text-extension&utm_content=readme\" rel=\"nofollow ugc\">the DTX Knowledge base<\/a>.<\/p>\n<h4>Post Meta & Custom Fields<\/h4>\n<p>Retrieve custom fields from the current post\/page. Just set the custom field as the key in the shortcode.<\/p>\n<p>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.  <a href=\"https:\/\/sevenspark.com\/docs\/contact-form-7-dynamic-text-extension\/allow-data-access\" rel=\"nofollow ugc\">More Information<\/a><\/p>\n<p>The dynamic value input becomes: <code>CF7_get_custom_field key='my_custom_field'<\/code><\/p>\n<p>And the tag looks like this: <code>[dynamictext dynamicname \"CF7_get_custom_field key='my_custom_field'\"]<\/code><\/p>\n<p>For the purposes of including an email address, you can obfuscate the custom field value by setting obfuscate=\u2019on\u2019 in the shortcode like this:<br \/>\n    [dynamictext dynamicname \u201cCF7_get_custom_field key=\u2019my_custom_field\u2019 obfuscate=\u2019on'\u201d]<\/p>\n<p>Learn more and see examples from <a href=\"https:\/\/aurisecreative.com\/docs\/contact-form-7-dynamic-text-extension\/shortcodes\/dtx-shortcode-post-meta-custom-fields\/?utm_source=wordpress.org&utm_medium=link&utm_campaign=contact-form-7-dynamic-text-extension&utm_content=readme\" rel=\"nofollow ugc\">the DTX Knowledge base<\/a>.<\/p>\n<h4>Featured Images & Media Attachments<\/h4>\n<p>Retrieve the current post\u2019s featured image, the featured image of a different page, or any attachment from the Media Library with this shortcode!<\/p>\n<p>The base shortcode is simply: <code>CF7_get_attachment<\/code> which returns the absolute URL of the current page\u2019s featured image.<\/p>\n<p>By setting the <code>post_id<\/code> attribute to a post ID, you can get the featured image of another page.<\/p>\n<p>By setting the <code>id<\/code> attribute to an attachment ID, you can get the absolute URL of any image uploaded to your WordPress website.<\/p>\n<p>By setting the <code>size<\/code> attribute to any size registered on your website, you can get a specific image size.<\/p>\n<p>Want to return the attachment ID instead of the URL? Also not a problem! Just set <code>return='id'<\/code> in the shortcode.<\/p>\n<p>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:<br \/>\n    [dynamictext input_name \u201cCF7_get_attachment post_id=\u2019123\u2032 return=\u2019id'\u201d]<\/p>\n<p>If I wanted to get a specific image at a specific size, I can use this:<br \/>\n    [dynamictext input_name \u201cCF7_get_attachment id=\u2019123\u2032 size=\u2019thumbnail'\u201d]<\/p>\n<p>The only two attributes that can\u2019t play together is <code>id<\/code> and <code>post_id<\/code>. If both are specified, it will get the attachment specified by <code>id<\/code> and completely ignore the <code>post_id<\/code> attribute. If neither are specified, then it looks to the current featured image assigned to the global <code>$post<\/code> object.<\/p>\n<p>Learn more and see examples from <a href=\"https:\/\/aurisecreative.com\/docs\/contact-form-7-dynamic-text-extension\/shortcodes\/dtx-shortcode-media-attachment\/?utm_source=wordpress.org&utm_medium=link&utm_campaign=contact-form-7-dynamic-text-extension&utm_content=readme\" rel=\"nofollow ugc\">the DTX Knowledge base<\/a>.<\/p>\n<h4>Current User Info & User Meta<\/h4>\n<p>Get data about the current logged-in user.<\/p>\n<p>Dynamic value: <code>CF7_get_current_user key='user_displayname'<\/code><br \/>\nCF7 Tag: <code>[dynamictext dynamicname \"CF7_get_current_user\"]<\/code><\/p>\n<p>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.  <a href=\"https:\/\/sevenspark.com\/docs\/contact-form-7-dynamic-text-extension\/allow-data-access\" rel=\"nofollow ugc\">More Information<\/a><\/p>\n<p>Valid values for <code>key<\/code> include:<\/p>\n<ul>\n<li><code>ID<\/code><\/li>\n<li><code>user_login<\/code><\/li>\n<li><code>display_name<\/code><\/li>\n<li><code>user_email<\/code><\/li>\n<li><code>user_firstname<\/code><\/li>\n<li><code>user_lastname<\/code><\/li>\n<li><code>user_description<\/code><\/li>\n<\/ul>\n<p>But also custom meta user keys!<\/p>\n<p>For the purposes of including an email address, you can obfuscate the value by setting obfuscate=\u2019on\u2019 in the shortcode like this:<br \/>\n    [dynamictext dynamicname \u201cCF7_get_current_user key=\u2019user_email\u2019 obfuscate=\u2019on'\u201d]<\/p>\n<p>Learn more and see examples from <a href=\"https:\/\/aurisecreative.com\/docs\/contact-form-7-dynamic-text-extension\/shortcodes\/dtx-shortcode-current-user-user-meta\/?utm_source=wordpress.org&utm_medium=link&utm_campaign=contact-form-7-dynamic-text-extension&utm_content=readme\" rel=\"nofollow ugc\">the DTX Knowledge base<\/a>.<\/p>\n<h4>Site\/Blog Info<\/h4>\n<p>Want to grab some information from your blog like the URL or the site name? Use the <code>CF7_bloginfo<\/code> shortcode. For example, to get the site\u2019s URL:<\/p>\n<p>Enter the following into the \u201cDynamic Value\u201d input: <code>CF7_bloginfo show='url'<\/code><\/p>\n<p>Your Content Form 7 Tag will look something like this: <code>[dynamictext dynamicname \"CF7_bloginfo show='url'\"]<\/code><\/p>\n<p>Your form\u2019s dynamicname text input will then be pre-populated with your site\u2019s URL<\/p>\n<p>Learn more and see examples from <a href=\"https:\/\/aurisecreative.com\/docs\/contact-form-7-dynamic-text-extension\/shortcodes\/dtx-shortcode-site-blog-information\/?utm_source=wordpress.org&utm_medium=link&utm_campaign=contact-form-7-dynamic-text-extension&utm_content=readme\" rel=\"nofollow ugc\">the DTX Knowledge base<\/a>.<\/p>\n<h4>Theme Options<\/h4>\n<p>Want to retrieve values from your active theme\u2019s Customizer? Now you can with the <code>CF7_get_theme_option<\/code> shortcode.<\/p>\n<p>Learn more and see examples from <a href=\"https:\/\/aurisecreative.com\/docs\/contact-form-7-dynamic-text-extension\/shortcodes\/dtx-shortcode-theme-option\/?utm_source=wordpress.org&utm_medium=link&utm_campaign=contact-form-7-dynamic-text-extension&utm_content=readme\" rel=\"nofollow ugc\">the DTX Knowledge base<\/a>.<\/p>\n<h4>HTTP GET Variables<\/h4>\n<p>Want to use a variable from the PHP <code>$_GET<\/code> array? Just use the <code>CF7_GET<\/code> shortcode. For example, if you want to get the foo parameter from the url<br \/>\n    http:\/\/mysite.com?foo=bar<\/p>\n<p>Enter the following into the \u201cDynamic Value\u201d input: <code>CF7_GET key='foo'<\/code><\/p>\n<p>Your Content Form 7 Tag will look something like this: <code>[dynamictext dynamicname \"CF7_GET key='foo'\"]<\/code><\/p>\n<p>Your form\u2019s dynamicname text input will then be pre-populated with the value of <code>foo<\/code>, in this case, <code>bar<\/code><\/p>\n<p>Learn more and see examples from <a href=\"https:\/\/aurisecreative.com\/docs\/contact-form-7-dynamic-text-extension\/shortcodes\/dtx-shortcode-php-get-variables\/?utm_source=wordpress.org&utm_medium=link&utm_campaign=contact-form-7-dynamic-text-extension&utm_content=readme\" rel=\"nofollow ugc\">the DTX Knowledge base<\/a>.<\/p>\n<h4>HTTP POST Variables<\/h4>\n<p>Grab variables from the PHP <code>$_POST<\/code> array. The shortcode is much like the GET shortcode:<\/p>\n<p>Dynamic value: <code>CF7_POST key='foo'<\/code><\/p>\n<p>Your Content Form 7 Tag will look something like this: <code>[dynamictext dynamicname \"CF7_POST key='foo'\"]<\/code><\/p>\n<p>Learn more and see examples from <a href=\"https:\/\/aurisecreative.com\/docs\/contact-form-7-dynamic-text-extension\/shortcodes\/dtx-shortcode-php-post-variables\/?utm_source=wordpress.org&utm_medium=link&utm_campaign=contact-form-7-dynamic-text-extension&utm_content=readme\" rel=\"nofollow ugc\">the DTX Knowledge base<\/a>.<\/p>\n<h4>Cookie Values<\/h4>\n<p>If 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 <code>CF7_get_cookie<\/code> shortcode. It only needs a <code>key<\/code> attribute.<\/p>\n<p>Dynamic value: <code>CF7_get_cookie key='foo'<\/code><\/p>\n<p>Your Content Form 7 Tag will look something like this: <code>[dynamictext dynamicname \"CF7_get_cookie key='foo'\"]<\/code><\/p>\n<p>Learn more and see examples from <a href=\"https:\/\/aurisecreative.com\/docs\/contact-form-7-dynamic-text-extension\/shortcodes\/dtx-shortcode-cookie\/?utm_source=wordpress.org&utm_medium=link&utm_campaign=contact-form-7-dynamic-text-extension&utm_content=readme\" rel=\"nofollow ugc\">the DTX Knowledge base<\/a>.<\/p>\n<h4>GUID<\/h4>\n<p>Generate 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: <code>CF7_guid<\/code><\/p>\n<p>In the form editor of Contact Form 7, your form tag would look like: <code>[dynamictext dynamicname \"CF7_guid\"]<\/code><\/p>\n<p>Learn more and see examples from <a href=\"https:\/\/aurisecreative.com\/docs\/contact-form-7-dynamic-text-extension\/shortcodes\/dtx-shortcode-guid\/?utm_source=wordpress.org&utm_medium=link&utm_campaign=contact-form-7-dynamic-text-extension&utm_content=readme\" rel=\"nofollow ugc\">the DTX Knowledge base<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Extends Contact Form 7 by adding dynamic form fields that accepts shortcodes to prepopulate form fields with default values and dynamic placeholders.<\/p>\n","protected":false},"author":65,"featured_media":255791,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Contact Form 7 \u2013 Dynamic Text Extension - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Extends Contact Form 7 by adding dynamic form fields that accepts shortcodes to prepopulate form fields with default values and dynamic placeholders."},"footnotes":""},"categories":[1],"tags":[6530,862,53933,14248,14249],"class_list":["post-41197","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-autofill","tag-contact-form-7","tag-dynamic-form","tag-form-field","tag-prepopulate"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/41197","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=41197"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/41197\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/255791"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=41197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=41197"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=41197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}