這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Contact Form 7 Dynamic Text Extension

描述

Contact Form 7 is an excellent WordPress plugin, and the CF7 DTX Plugin makes it even more awesome by adding dynamic content capabilities.
While default values in Contact Form 7 are static. CF7 DTX lets you create pre-populated fields based on other values. Some examples might include:

  • Auto-filling a URL
  • Auto-filling a Post ID, title, or slug
  • Pre-populating a Product Number
  • Referencing other content on the site
  • Populating with post info
  • Populating with user info
  • Populating with custom fields
  • Any value you can write a shortcode for

There are many more case-specific examples, and since you can use any shortcode, you can add any text data to the form that can be generated on the server with PHP.

WHAT DOES IT DO?

This plugin provides a new tag type for the Contact Form 7 Plugin. It allows the dynamic generation of content for a text input box via any shortcode.
For example, it comes with several built-in shortcodes that will allow the Contact Form to be populated from any $_GET PHP variable or any info from the
get_bloginfo() function, among others.

KNOWLEDGEBASE

Please visit the Contact Form 7 – Dynamic Text Extension Knowledgebase for full documentation.

Like the Dynamic Text Extension? Please consider supporting its development by Donating.

Or check out other SevenSpark plugins, UberMenu – WordPress Mega Menu Plugin, ShiftNav – Mobile Menu Plugin, Bellows Accordion Menu

螢幕截圖

  • The new Dynamic Text Field options.

常見問題

Visit the FAQs

評價

2020年8月24日
Plugin works fine. Was hoping for it to automatically fill the next field based on what the user typed in the text field. E.g What languages do you speak? 1. [text1] 2. [text2] State how well you speak these languages? 1. [text1] 2. [text2]
2020年7月2日
I didn't really understand the benefit, that this plugin adds. Also, no support: "Issues resolved in last two months: 0 out of 7".
閱讀全部91個評價

貢獻者及開發者

“Contact Form 7 Dynamic Text Extension” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

Contact Form 7 Dynamic Text Extension 外掛目前已有 10 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Contact Form 7 Dynamic Text Extension 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

2.0.3

  • Please update!
  • Security: Fix Reflected XSS – more: https://sevenspark.com/docs/cf7-dtx-security-2019-07-24

2.0.2.1

  • Update changelog properly for 2.0.2 changes:

2.0.2

  • Update deprecated get_currentuserinfo() function to wp_get_current_user()
  • Update deprecated functions from WPCF7_add_shortcode to WPCF7_add_formtag and class from WPCF7_Shortcode to WPCF7_FormTag to comply with CF7 4.6 changes

2.0.1

  • Hook change to guarantee the plugin only runs when Contact Form 7 is present in the admin (avoids errors if Contact Form 7 is disabled, or if there is a plugin sequencing issue)

2.0

  • Complete rewrite for Compatibility with Contact Form 7 v4

1.2

  • Compatibility update for Contact Form 7 v3.9

1.1.0.2

  • Updated to work with Contact Form 7 v3.7.x

1.1.0.1

  • Removed undefined variable warning

1.1

  • Updated for compatibility with Contact Form 7 v3.6
  • Added Referrer shortcode

1.0.4.2

  • Fixed a bug that created repeating square brackets around dynamic text values in cases where the form doesn’t validate and JavaScript is deactivated.

1.0.4.1

  • Removed trailing whitespace to fix “Headers already sent” errors

1.0.4

  • Added Current User Info shortcode
  • Added Post Custom Field shortcode (with obfuscation support)
  • Added Hidden Field capability

1.0.3

  • Added $_POST shortcode
  • Added current post/page variable shortcode
  • Added current URL shortcode

1.0.2

  • Fixed administrative control panel dependency issue

1.0.1

  • Fixed dependency issue.