Cette extension n’a pas été testée avec plus de trois mises à jour majeures de WordPress. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

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.

Captures d’écran

  • 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

Avis

3 septembre 2016
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.
Lire l’avis

Contributeurs/contributrices & développeurs/développeuses

« Gravity Forms Extended Merge Tags » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Journal

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