Title: Forms: 3rd-Party Dynamic Fields
Author: zaus
Published: <strong>2013 年 10 月 11 日</strong>
Last modified: 2017 年 5 月 5 日

---

搜尋外掛

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

![](https://s.w.org/plugins/geopattern-icon/forms-3rdparty-dynamic-fields.svg)

# Forms: 3rd-Party Dynamic Fields

 由 [zaus](https://profiles.wordpress.org/zaus/) 開發

[下載](https://downloads.wordpress.org/plugin/forms-3rdparty-dynamic-fields.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/forms-3rdparty-dynamic-fields/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/forms-3rdparty-dynamic-fields/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/forms-3rdparty-dynamic-fields/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/forms-3rdparty-dynamic-fields/#developers)

 [技術支援](https://wordpress.org/support/plugin/forms-3rdparty-dynamic-fields/)

## 外掛說明

Using pre-configured placeholders like `##UID##`, `##REFERER##`, or `##SITEURL##`,
add dynamic fields to the normally map-only or static-only [Forms: 3rdparty Integration](https://wordpress.org/plugins/forms-3rdparty-integration/)
plugin.

## 安裝方式

 1. Unzip, upload plugin folder to your plugins directory (`/wp-content/plugins/`)
 2. Make sure [Contact Form 7](https://wordpress.org/extend/plugins/contact-form-7/)
    or [Gravity Forms](http://www.gravityforms.com/) is installed
 3. Make sure [Forms: 3rdparty Integration](https://wordpress.org/plugins/forms-3rdparty-integration/)
    is installed
 4. Activate plugin
 5. Go to new admin subpage _“3rdparty Services”_ under the CF7 “Contact” menu or Gravity
    Forms “Forms” menu and configure services + field mapping.
 6. Configure the new “Dynamic Fields” section to optionally attach the dynamic values
    to the notification messaging (and how)
 7. Using the additional collapsed metabox for examples, add dynamic placeholders as“
    static values” to the service mapping (check ‘Is Value?’ column). Double-click 
    examples to populate each textbox after selecting it.

## 常見問題集

  Installation Instructions

 1. Unzip, upload plugin folder to your plugins directory (`/wp-content/plugins/`)
 2. Make sure [Contact Form 7](https://wordpress.org/extend/plugins/contact-form-7/)
    or [Gravity Forms](http://www.gravityforms.com/) is installed
 3. Make sure [Forms: 3rdparty Integration](https://wordpress.org/plugins/forms-3rdparty-integration/)
    is installed
 4. Activate plugin
 5. Go to new admin subpage _“3rdparty Services”_ under the CF7 “Contact” menu or Gravity
    Forms “Forms” menu and configure services + field mapping.
 6. Configure the new “Dynamic Fields” section to optionally attach the dynamic values
    to the notification messaging (and how)
 7. Using the additional collapsed metabox for examples, add dynamic placeholders as“
    static values” to the service mapping (check ‘Is Value?’ column). Double-click 
    examples to populate each textbox after selecting it.

  I need help

Submit an issue to the [GitHub issue tracker](https://github.com/zaus/forms-3rdparty-dynamicfields/issues)
in addition to / instead of the WP Support Forums.

  How do I add / configure a service?

See “base plugin” [Forms: 3rdparty Integration](https://wordpress.org/plugins/forms-3rdparty-integration/).

Expand the box “Dynamic Placeholder Examples” below the ‘save’ button for allowed
dynamic fields.

Additionally, you’ll need to check the ‘Is Value?’ column.

  How do I add GET parameters to my service post?

Use the placeholder `##GET:{urlparam}##` as the static value, which will attach 
the value `XYZ` from the url in `?urlparam=XYZ`.

  How do I add COOKIE parameters to my service post?

Use the placeholder `##COOKIE:{hamburgler}##` as the static value, which will attach
the value `XYZ` from the cookie named `hamburgler`.

  What else can I attach?

These are also listed within the plugin settings under the “[?] Dynamic Placeholder
Examples” metabox — double click each option for automatic entry. Live “example 
previews” are also shown for each within the metabox.

 * `##TIMESTAMP##` = the current timestamp (from [`time`](http://php.net/manual/en/function.time.php))
 * `##DATE_ISO##` = date, formatted to ISO 8601 “Y-m-d\TH:i:sP” (PHP5)
 * `##DATE##` = wordpress-formatted current date (`date_i18n( get_option('date_format'),
   time() );`)
 * `##TIME##` = wordpress-formatted current date (`date_i18n( get_option('date_format'),
   time() );`)
 * `##UID##` = a unique id
 * `##IP##` = the visitor IP
 * `##SITEURL##` = the site url, according to wordpress ([`get_site_url`](https://codex.wordpress.org/Function_Reference/get_site_url))
 * `##NETWORKSITEURL##` = the network site url, according to wordpress ([`network_site_url`](https://codex.wordpress.org/Function_Reference/network_site_url))
 * `##SITENAME##` = the site name, according to wordpress (`get_bloginfo('name')`)
 * `##ADMINEMAIL##` = the admin email, according to wordpress (`get_bloginfo('admin_email')`)
 * `##PAGEURL##` = the current page (permalink) that has the form, according to 
   wordpress ([`get_permalink`](https://codex.wordpress.org/Function_Reference/get_permalink))
 * `##REQUESTURL##` = the current page, according to PHP
 * `##REFERER##` = the referer, according to PHP
 * `##WPREFERER##` = the referer, according to wordpress ([`wp_get_referer`](https://codex.wordpress.org/Function_Reference/wp_get_referer))
 * `##GET:{` = prefix to attach querystring parameters (see section above)
 * `##COOKIE:{` = prefix to attach cookies (see section above)
 * `##SESSION:{` = prefix to attach sessions (see section above)
 * `=` = prefix to perform calculations on other input fields, like `{input_1} /
   12 + round({input_2} / 2)`

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Forms: 3rd-Party Dynamic Fields〉的開發相關工作。

參與者

 *   [ zaus ](https://profiles.wordpress.org/zaus/)
 *   [ spkane ](https://profiles.wordpress.org/spkane/)

[將〈Forms: 3rd-Party Dynamic Fields〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/forms-3rdparty-dynamic-fields)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/forms-3rdparty-dynamic-fields/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/forms-3rdparty-dynamic-fields/)，
或透過 [RSS](https://plugins.trac.wordpress.org/log/forms-3rdparty-dynamic-fields/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/forms-3rdparty-dynamic-fields/)。

## 變更記錄

#### 0.7.2

bugfixes for session start, nested replace

#### 0.7

 * sessions

#### 0.6.2

 * still fixing missing Parser files; updated to latest from EOS repo

#### 0.6.1

 * fix: added missing Parser files; so embarrassed (^_^;)

#### 0.6

 * calculations via prefix `=` using non-eval parser https://github.com/jlawrence11/
   eos

#### 0.5

 * IP

#### 0.4

Addressed github issues #1, #2, #3

 * wpreferer
 * explicit mention of how to use in readme (already in plugin metabox)
 * cookies

#### 0.3.3

Minor bugfixes to pageurl and referer

#### 0.3.2

 * added REFERER
 * more translated text
 * handles nested values

#### 0.3

GET parameters.

#### 0.2

Attaches to notification.

#### 0.1

Base version – dynamic field replacement

## 中繼資料

 *  版本 **0.7.3**
 *  最後更新 **9 年前**
 *  啟用安裝數 **50+**
 *  WordPress 版本需求 ** 3.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.5.33**
 *  語言
 * [English (US)](https://wordpress.org/plugins/forms-3rdparty-dynamic-fields/)
 * 標籤:
 * [cf7](https://tw.wordpress.org/plugins/tags/cf7/)[contact form](https://tw.wordpress.org/plugins/tags/contact-form/)
   [contact form 7](https://tw.wordpress.org/plugins/tags/contact-form-7/)[form](https://tw.wordpress.org/plugins/tags/form/)
   [gravity forms](https://tw.wordpress.org/plugins/tags/gravity-forms/)
 *  [進階檢視](https://tw.wordpress.org/plugins/forms-3rdparty-dynamic-fields/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/forms-3rdparty-dynamic-fields/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/forms-3rdparty-dynamic-fields/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/forms-3rdparty-dynamic-fields/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/forms-3rdparty-dynamic-fields/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/forms-3rdparty-dynamic-fields/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/forms-3rdparty-dynamic-fields/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/forms-3rdparty-dynamic-fields/reviews/)

## 參與者

 *   [ zaus ](https://profiles.wordpress.org/zaus/)
 *   [ spkane ](https://profiles.wordpress.org/spkane/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/forms-3rdparty-dynamic-fields/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://drzaus.com/donate)