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.
Copy the plugin files to
Activate plugin from Plugins page
Add a hidden field to your Gravity Form
Go to the Advanced tab in the field settings and hit the down arrow to the right of the Default Value text box
Scroll down to Custom and choose either Cookie Data, Server Data or Session Data
Change the “key” text with the data you are looking for
Contributors & Developers
“Gravity Forms Extended Merge Tags” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Added support for $_GET, $_POST and $_REQUEST variables
- Cleaned up the code to better adhere to WordPress coding standards
- Initial release