🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Dynamic text field for contact form 7 icon
Actively maintained Tested with WP 7.1 #33 in cf7

Dynamic text field for contact form 7

Add dynamic text and hidden fields to Contact Form 7 using shortcodes — auto-populate post, user, product, and custom field data.

Active installs1K+1K+ tier
Downloads · 30d1.1K▲ +150.8% vs prev. 30d
Rating5/51 reviews
Health score77/100Good
All-time downloads9.4KSince May 2022
Support resolved—No recent threads
RequiresWP 6.5PHP 7.4+
Downloads · 7d398▲ +3.9% week over week
Our verdict

Solid choice

Dynamic text field for contact… is a solid plugin choice in 2026, with a few things worth checking first. It runs on 1K+ sites, is rated 5/5 and was last updated 1 week ago, and scores 77/100 on our health check.

  • Actively developed — last update 1 week ago
  • Tested with the latest WordPress (7.1)
  • Momentum — downloads up 150.8% vs the previous 30 days
  • Very few reviews so far

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

4591137Sep 7Oct 21Dec 5
Yesterday42
Daily average (1y)9
Peak day183Nov 27, 2026
Last 12 months3.4K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Dynamic text field for cont… stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
cf7 #71 957 Best cf7 plugins →
contact form 7 #67 4,487 Best contact form 7 plugins →
dynamic field #7 4,214 Best dynamic field plugins →
hidden field #8 5,916 Best hidden field plugins →
shortcode field #13 10,000 Best shortcode field plugins →

Version adoption

Share of active sites per release.

  • 1.160.0%
  • 1.040.1%

Rating breakdown

★★★★★★★★★★ 5 from 1 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Dynamic text field for contact form 7

From the official readme · v1.1

Description

Dynamic text field for contact form 7 extends Contact Form 7 with two powerful new field types — shortcodefield (visible text input) and shortcodehidden (hidden input) — that automatically populate their values from any WordPress shortcode.

Stop hardcoding form values. Instead, let your CF7 forms pull live data directly from the current post, the logged-in user, a WooCommerce product, custom meta fields, or any shortcode you define.

Whether you need to pass the current page URL, the post title, or a user’s username silently in a hidden field, this plugin makes it seamless — no coding required after setup.

🔧 What You Can Do

  • Auto-populate from post data — Inject the current post’s title, slug, ID, or any post property into a form field automatically using DYFCF7_get_post_title.
  • Pull current user info — Pre-fill fields with the logged-in user’s username, email, display name, or any WP_User property using DYFCF7_get_current_user.
  • Fetch custom field (post meta) values — Retrieve any custom field value by key from the current post or a specific post ID using DYFCF7_get_custom_field key='your_key'.
  • Insert the current page URL — Pass the current page’s URL into a form field automatically using DYFCF7_page_url.
  • Access site/blog info — Pull in the site name, URL, admin email, or any get_bloginfo() value using DYFCF7_get_bloginfo.
  • Integrate WooCommerce product data — On product, shop, cart, and checkout pages, populate fields with product name, ID, price, or any product property using DYFCF7_get_product.
  • Use any custom shortcode — Not limited to built-in helpers. Pass the name of any registered shortcode (without square brackets) as the field value, and this plugin will resolve it at render time.
  • Visible or hidden output — Use shortcodefield for a visible, editable text input, or shortcodehidden for a silent hidden field — perfect for tracking metadata without showing it to users.
  • Required field validation — Mark shortcodefield as required using the asterisk variant (shortcodefield*), and CF7’s standard validation will enforce it.
  • Tag Generator UI — Both field types come with a full tag generator panel inside the CF7 form editor, complete with name, ID, class, and value inputs — no manual shortcode writing needed.

📋 Built-in Shortcodes

Shortcode
Description

DYFCF7_get_post_title key='post_title'
Get any post/page property (post_title, post_author, ID, etc.)

DYFCF7_get_current_user key='user_login'
Get any property of the currently logged-in user

DYFCF7_get_custom_field key='meta_key'
Get a custom field (post meta) value by key

DYFCF7_page_url
Get the URL of the current page

DYFCF7_get_bloginfo show='name'
Get site info (name, URL, admin_email, etc.)

DYFCF7_get_product key='name'
Get WooCommerce product data on product pages

💡 How It Works

In the CF7 form editor, click the shortcodefield or shortcodehidden tag button. In the popup, enter a shortcode name — without the square brackets — into the value field. For example, to pre-fill a field with the current post title, enter:

DYFCF7_get_post_title key='post_title'

The plugin resolves the shortcode on page load and injects the result as the field’s value. You can also pass any custom shortcode you have registered in your theme’s functions.php.

🔗 Resources

Installation

  1. Upload the plugin folder to /wp-content/plugins/, or install directly via the WordPress Plugins screen.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Make sure Contact Form 7 is installed and activated.
  4. Edit any CF7 form — you will see two new tag buttons: shortcodefield and shortcodehidden.
  5. Click a tag button, fill in the name and shortcode value in the popup, and click Insert Tag.
  6. Save the form and the field will dynamically resolve the shortcode value on the frontend.

Changelog

Security fix for unauthenticated arbitrary shortcode execution. Update recommended.

1.1

  • Security: fixed unauthenticated arbitrary shortcode execution. Submitted/hangover values are never passed to do_shortcode(); only the shortcode configured by the form author is executed.
  • Security: hidden shortcode fields ignore submitted values on re-render.
  • Security: built-in shortcodes (post title, current user, custom field, product) now use key allowlists; custom field shortcode checks post status, password and read permission.
  • Hardening: validation checks isset() and uses wp_unslash() before sanitizing.

1.0

  • Initial release.
  • Added shortcodefield tag type — a visible, editable text input populated via shortcode.
  • Added shortcodehidden tag type — a hidden input populated via shortcode.
  • Built-in shortcodes: DYFCF7_get_post_title, DYFCF7_get_current_user, DYFCF7_get_custom_field, DYFCF7_page_url, DYFCF7_get_bloginfo, DYFCF7_get_product.
  • Tag Generator UI for both field types in the CF7 form editor.
  • Required field validation support for shortcodefield*.

Full changelog on WordPress.org →

Screenshots

CF7 form editor showing the shortcodefield and shortcodehidden tag generator buttons.
CF7 form editor showing the shortcodefield and shortcodehidden tag generator buttons.
The shortcodefield tag generator popup with name, ID, class, and shortcode value fields.
The shortcodefield tag generator popup with name, ID, class, and shortcode value fields.
The shortcodehidden tag generator popup for configuring a hidden dynamic field.
The shortcodehidden tag generator popup for configuring a hidden dynamic field.

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Dynamic text field for contac… alternatives

All cf7 plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Database Addon for Contact Form 7 – CFDB7 Database Addon for Contact Form 7 – CFDB7 Save and manage Contact Form 7 messages. Never lose important data. It is a lightweight… by Arshid 600K+ ★★★★★★★★★★ 5 (1.9K) 3 days ago 94
2 GSheetConnector – CF7 Google Sheets Connector & Save CF7 Entries to Database GSheetConnector Send Contact Form 7 submissions to Google Sheets automatically in real time and keep every… by WesternDeal 40K+ ★★★★★★★★★★ 4.4 (129) 2 weeks ago 92
3 CF7 to Webhook CF7 to Webhook Use Contact Form 7 as a trigger to any webhook! by Mário Valney 30K+ ★★★★★★★★★★ 5 (53) 1 week ago 80
4 Date Time Picker for Contact Form 7 Date Time Picker for Contact Form 7 This plugin enables Contact Form 7 text field into a Date picker, Time picker or Date Time… by Ruhul Amin 20K+ ★★★★★★★★★★ 3.3 (21) 8 months ago 43
5 Void Contact Form 7 Widget For Elementor Page Builder Void Contact Form 7 Widget For Elementor Page Builder This WordPress Plugin Adds Contact Form 7 widget element to Elementor page builder for easy… by voidthemes 10K+ ★★★★★★★★★★ 4.9 (103) 2 weeks ago 90
6 Multi Step for Contact Form 7 Multi Step for Contact Form 7 Break your looooooong form into user-friendly steps by Ninja Team 10K+ ★★★★★★★★★★ 4.7 (77) 3 weeks ago 93
7 Contact Form 7 Shortcode Enabler Contact Form 7 Shortcode Enabler This plugin enables the usage of external shortcodes inside Contact Form 7 Forms. by Tobias Zimpel 10K+ ★★★★★★★★★★ 4.9 (12) 2 years ago 42
8 Contact Form 7 – Success Page Redirects Contact Form 7 – Success Page Redirects An add-on for Contact Form 7 that provides a straightforward method to redirect visitors to… by Ryan Nevius 9K+ ★★★★★★★★★★ 4.2 (27) 9 years ago 42
9 Contact Form 7 – Repeatable Fields Contact Form 7 – Repeatable Fields Adds repeatable groups of fields to Contact Form 7. by Felipe Elia 5K+ ★★★★★★★★★★ 4.3 (21) 3 weeks ago 86
10 WPB Popup for Contact Form 7 – Showing Contact Form 7 Popup on Button Click WPB Popup for Contact Form 7 Add a Contact Form 7 popup on button click. Create a simple CF7 popup form or contact form… by WPBean 5K+ ★★★★★★★★★★ 4.6 (16) 3 days ago 86

FAQ

Dynamic text field for contact form…: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Dynamic text field for contact… free?

Yes. Dynamic text field for contact… is free to download and use from the official WordPress.org plugin directory.

Is Dynamic text field for contact… safe to use in 2026?

Dynamic text field for contact… is a solid plugin choice in 2026, with a few things worth checking first. It runs on 1K+ sites, is rated 5/5 and was last updated 1 week ago, and scores 77/100 on our health check.

How many websites use Dynamic text field for contact…?

Dynamic text field for contact… is active on 1K+ WordPress websites and has been downloaded 9,445 times since it launched in May 2022. It was downloaded 1,061 times in the last 30 days.

Does Dynamic text field for contact… work with WordPress 7.1?

Yes. The developer has tested Dynamic text field for contact… up to WordPress 7.1.5, the latest release. It requires WordPress 6.5 or newer.

What PHP version does Dynamic text field for contact… need?

Dynamic text field for contact… requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Dynamic text field for contact… last updated?

The latest version, 1.1, was released on November 27, 2026 (1 week ago).

Who makes Dynamic text field for contact…?

Dynamic text field for contact… is developed and maintained by silverplugins217.

What are the best alternatives to Dynamic text field for contact…?

The most popular alternatives to Dynamic text field for contact… are Database Addon for Contact… (600K+ installs), GSheetConnector (40K+ installs) and CF7 to Webhook (30K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open