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

Gravity Forms Extended Merge Tags

描述

This plugin allows you to use $_COOKIE, $_SERVER, $_SESSION, $_GET, $_POST and $_REQUEST data in a Gravity Form through the merge tags of a field. I’ve only really tested this using a hidden field.

螢幕截圖

  • Showing the merge tags dropdown

安裝

  1. Copy the plugin files to wp-content/plugins/

  2. Activate plugin from Plugins page

  3. Add a hidden field to your Gravity Form

  4. Go to the Advanced tab in the field settings and hit the down arrow to the right of the Default Value text box

  5. Scroll down to Custom and choose either Cookie Data, Server Data or Session Data

  6. Change the “key” text with the data you are looking for

評價

2016年9月3日
It's amazing how few people seem to know about this plugin. Incredibly simple, but also really helpful when using $_SESSION variables to track website visitors. I use it to get referring website data, so I can easily store it in a $__SESSION variable. Then when the visitor fills out a Gravity Form, I can pass along the stored vars. I crafted a Lead Source Tracking for Salesforce script that uses this plugin to pass along the details to Salesforce when a form is submitted.
閱讀全部1個評價

貢獻者及開發者

“Gravity Forms Extended Merge Tags” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

修改日誌

1.1

  • Added support for $_GET, $_POST and $_REQUEST variables
  • Cleaned up the code to better adhere to WordPress coding standards

1.0

  • Initial release