
# Changelog

## 1.2.6 | November 5, 2025

- Fixed an issue where a required validation error was incorrectly triggered on required Product fields with Pay Per Word enabled.

## 1.2.5 | May 14, 2025

- Removed redundant check for Gravity Perks in preparation for Spellbook.

## 1.2.4 | May 7, 2025

- Fixed an issue where validation would run even if Pay Per Word was not enabled for a field which could mask other validation errors.

## 1.2.3 | February 27, 2025

- Fixed issue with empty price per word setting.

## 1.2.2 | September 11, 2024

- Refactored to use `GP_Plugin` as the base PHP class.

## 1.2.1

- Added [`gpppw_applicable_field_types`](https://gravitywiz.com/documentation/gpppw_applicable_field_types/) PHP filter hook to allow modifying the supported field types.
- Added "Update URI" to plugin header to improve security.

## 1.2

- Improved compatibility with Gravity Forms 2.5.
- Added inline docs for "gpppw_word_count" filters.

## 1.1.6

- Fixed an issue where prices in Euro would be displayed incorrectly. (#1)

## 1.1.5

- Fixed issue where non-US currencies were not preserved in base price setting.

## 1.1.4

- Added a new filter to be able to hook into the back-end side of the word count. apply_filters( 'gpppw_word_count', $word_count, $words, $price_field, $word_field, $form );
- Updated plugin author.

## 1.1.3

- Fixed issue where base price was not correctly reset when choice was disabled.

## 1.1.2

- Fixed issue when TinyMCE was not enqueued.

## 1.1.1

- Fixed issue where prices were not formatted correctly in the field settings.

## 1.1

    - Updated perk to use GP_Bootstrap
    - Added support for Gravity Form 2.0 Rich Text Editors

## 1.0.7

- Fixed issue where gravityforms.js dependency was not specified

## 1.0.6

- Added "gpppw_word_count" filter for modifying the word count

## 1.0.5

    - Fixed issue where line break/carriage returns were not being accounted for when processed server-side

## 1.0.4

    - Fixed issue where line breaks/carriage returns were not being accounted for when calculating word count

## 1.0.3

    - Fixed issue where new 'gwppw_price' hook returned field object instead of price

## 1.0.2

    - Fixed issue where PPW products did not update in calculations (no change event was being triggered)

## 1.0.1

    - Added 2 new filters to be able to hook into the back-end and front-end side of the price calculations. apply_filters('gwppw_price', $price_field, $word_field, $word_count, $price);
    - Fixed a JavaScript issue where if the number was equal to 0 it would return as Not a Number.