Dynamic Text is a form tag added by Contact Form 7 – Dynamic Text Extension (DTX) that creates <input type="text"> form fields for forms created with Contact Form 7. It expands upon Contact Form 7’s Text Field form tag, accepting all of the options it does, along with these additional options introduced by DTX:
| Option | Description | Example |
|---|---|---|
| Dynamic value | Set a dynamic default value. It can be static text or a shortcode. The value is shown in the form tag between quotes. | [dynamic_text inputname "Hello world"] |
| Dynamic placeholder | Set a dynamic placeholder value. It can be static text or a shortcode. See placeholder documentation for more details. | [dynamic_text inputname placeholder:Hello%20World] |
| Read only attribute | Set the readonly attribute to the element | [dynamic_text inputname readonly] |
| Cache Compatible | Enable cache compatibility mode for this field | [dynamic_text inputname dtx_pageload] |
These settings are easily configurable using the form-tag generator.

Demos
Check out the dynamic text field in various customizations in the demo form below.
The dynamictext form tag was deprecated in favor of dynamic_text in version 4.0.0 of the Contact Form 7 โ Dynamic Text Extension WordPress plugin.