Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mmirus/gravity-forms-javascript-dynamic-population
Dynamically populate Gravity Forms fields from query parameters using JavaScript.
https://github.com/mmirus/gravity-forms-javascript-dynamic-population
gravity-forms gravityforms query-params querystring wordpress wordpress-plugin
Last synced: 10 days ago
JSON representation
Dynamically populate Gravity Forms fields from query parameters using JavaScript.
- Host: GitHub
- URL: https://github.com/mmirus/gravity-forms-javascript-dynamic-population
- Owner: mmirus
- License: mit
- Created: 2018-10-26T16:20:52.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-26T22:14:56.000Z (about 6 years ago)
- Last Synced: 2024-04-24T05:49:17.103Z (7 months ago)
- Topics: gravity-forms, gravityforms, query-params, querystring, wordpress, wordpress-plugin
- Language: PHP
- Size: 10.7 KB
- Stars: 11
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Gravity Forms JavScript Dynamic Population
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](https://packagist.org/packages/mmirus/gravity-forms-javascript-dynamic-population): `composer require mmirus/gravity-forms-javascript-dynamic-population`
2. With [GitHub Updater](https://github.com/afragen/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.