Dynamic Number is a form tag added by Contact Form 7 – Dynamic Text Extension (DTX) that creates <input type="number"> form fields for forms created with Contact Form 7. It expands upon Contact Form 7’s Number 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_number inputname "CF7_get_post_var key='ID'"] |
| Cache Compatible | Enable cache compatibility mode for this field | [dynamic_number inputname dtx_pageload] |
These settings are easily configurable using the form-tag generator.

The dynamic_number form tag was introduced in version 4.0.0 of theย Contact Form 7 โ Dynamic Text Extensionย WordPress plugin.