Gravity Forms Extended Merge Tags

Description

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.

Screenshots

  • Showing the merge tags dropdown

Installation

  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

FAQ

Installation Instructions
  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

Reviews

Brilliantly simple

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.

Read all 1 review

Contributors & Developers

“Gravity Forms Extended Merge Tags” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

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