DTX icon
Forms

DTX

Extends Contact Form 7 by adding dynamic form fields that accepts shortcodes to prepopulate form fields with default values and dynamic placeholders.

  • By sevenspark
  • v5.0.7
  • Updated

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.

We haven't published a hands-on review of DTX yet. Want one, or need help with it? Send us a request.

How to install DTX

  1. Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
  2. Search for it. Type “DTX” and pick the one by sevenspark.
  3. 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 --activate

Requirements: 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.

contact-form-7-dynamic-text-extension — top hooks
// 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 );

Browse all 7 hooks with examples →

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.

Alternatives in Forms

See all →

Just another contact form plugin. Simple but flexible.

10+ million installs 121 hooks
WPForms icon

WPForms

14K

The best WordPress contact form plugin. Drag & Drop form builder to create beautiful contact forms, payment forms, & other…

5+ million installs 809 hooks

Get a fast contact form plugin. Create advanced forms using drag and drop form builder with all smart features.

800,000+ installs Reviewed 985 hooks

Best WordPress form builder plugin. Create contact forms, payment forms & order forms with 1000+ integrations.

600,000+ installs Reviewed 1067 hooks