该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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