# Live Population for Gravity Forms

`meteorgpl-plugin/forgravity-livepopulation` — a WordPress plugin as a Composer package.

Use merge tags to populate field values, labels and more without reloading the page.

- Author: ForGravity — http://forgravity.com
- Homepage: http://forgravity.com/plugins/live-population/
- License: not declared
- Buy a license from the vendor: http://forgravity.com/plugins/live-population/
- Page: https://meteorgpl.com/packages/meteorgpl-plugin/forgravity-livepopulation
- Requires WordPress: 4.2
- Tested up to WordPress: 4.8
- Vendor: ForGravity — https://meteorgpl.com/vendors/forgravity.com

## About

Live Population makes it possible to use merge tags within form field labels, default values, placeholders, descriptions and HTML content.

When building out a form, a new Live Population tab is added under field settings. Inside this tab, you can select what field causes Live Population to occur and which field properties should be updated. Merge tags will be automatically replaced when the form is initially loaded and when the user makes changes when filling out a form.

Live Population requires [Gravity Forms](https://forgravity.com/gravityforms).

= Requirements =

1. [Purchase and install Gravity Forms](https://forgravity.com/gravityforms)
2. WordPress 4.2+
3. Gravity Forms 1.9.14+

= Support =

If you have any problems, please contact support: https://forgravity.com/support/

## Changelog

### 1.4.5

- Fix line breaks being removed when populating textarea values.

### 1.4.4

- Fix fields not opening in form editor when choices property is absent.
- Fix incorrect checkbox input IDs when replacing all choices with List field values on render.
- Fix Live Population not running on frontend when source field has calculations.
- Fix Live Population values not appearing in certain contexts.

### 1.4.3

- Fix Live Population not running on frontend when using multiple input field as replacement trigger.
- Fix Live Population values from being reset when field hidden by conditional logic is set to visible.

### 1.4.2

- Add "fg_livepopulation_replace_variables_{field_property}" filter to toggle HTML escaping, line break conversion and URL encoding when processing merge tags.

### 1.4.1

- Add support when editing entry with GravityView.
- Fix error when target field cannot be found.

Full changelog: https://meteorgpl.com/packages/meteorgpl-plugin/forgravity-livepopulation/changelog

## Install

```sh
composer config repositories.meteorgpl composer https://composer.meteorgpl.com
composer require meteorgpl-plugin/forgravity-livepopulation
```

The repository needs a token (see https://meteorgpl.com/docs). The vendor's license checks are intact: activate the plugin in WordPress with a key bought from the vendor.

## Versions

No version has been published yet.

