Overview
DTX describes itself as: “Extends Contact Form 7 by adding dynamic form fields that accepts shortcodes to prepopulate form fields with default values and dynamic placeholders.”
It is active on 100,000+ WordPress sites and rated 4.7 out of 5 by 99 users on WordPress.org. Developers can extend it through 0 actions and 7 filters, listed below.
How to install DTX
- Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
- Search for it. Type “DTX” and pick the one by sevenspark.
- Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI
Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:
wp plugin install contact-form-7-dynamic-text-extension --activateRequirements: WordPress 5.5+ · PHP 7.4+ · tested up to WordPress 7.0.8
Hooks & customisation
DTX 5.0.7 fires 0 actions and 7 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.
// Filter in includes/shortcodes.php
apply_filters( 'wpcf7dtx_escape', apply_filters('wpcf7dtx_sanitize', $raw), $atts['obfuscate'] );
// Filter in includes/shortcodes.php
apply_filters( 'wpcf7dtx_sanitize', $raw );
// Filter in includes/shortcodes.php
apply_filters( 'wpcf7dtx_shortcode', … );
// Filter in includes/utilities.php
apply_filters( 'wpcf7dtx_allow_protocols', $protocols );
// Filter in includes/utilities.php
apply_filters( 'wpcf7dtx_obfuscate', $value );
// Filter in includes/utilities.php
apply_filters( 'wpcf7dtx_post_meta_key_allow_list', $allowed_keys );Need DTX customised?
Tell us what you want changed, added or fixed and we'll reply with an estimate.
WP EXPERTS is independent and not affiliated with sevenspark. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 17, 2026.