mmirus/gravity-forms-javascript-dynamic-population

Dynamically populate Gravity Forms fields from query parameters using JavaScript.

1.0.3 2018-10-26 20:38 UTC

This package is auto-updated.

Last update: 2024-04-27 13:04:16 UTC


README

Some caching systems ignore query parameters, preventing Gravity Forms from dynamically populating field values.

This plugin bypasses that problem by filling Gravity Forms fields that have dynamic population enabled on the client side using JavaScript.

Installation

There are three options for installing this plugin:

  1. With composer from Packagist: composer require mmirus/gravity-forms-javascript-dynamic-population
  2. With GitHub Updater
  3. By downloading the latest release ZIP from this repository and installing it like any normal WordPress plugin

Usage

Once you have the plugin installed and activated, just configure Gravity Forms' built-in dynamic population setting for the desired form fields as you normally would--no extra steps are needed. When values are passed for those form fields in the URL, the plugin's JavaScript will detect them and fill them in.