# Changelog ## 1.3.14 | August 27, 2024 - Fixed issue where validation could be bypassed if submitting from the last page of a form that contains a Stripe Card field. ## 1.3.13 - Fixed PHP 8 warnings. ## 1.3.12 - Added new `GPLimitCheckboxes.getCheckboxCheckedCount()` and `GPLimitCheckboxes.isGroupBelowMin()` JavaScript methods. ## 1.3.11 - Added new `gplc_excluded_input_selectors` JavaScript filter hook. ## 1.3.10 - Added German translations. Credit: Florian Rinnhofer of sportunion.at ## 1.3.9 - Fixed an issue where a failed validation field was still being passed as valid on Gravity Flow User Input Step. ## 1.3.8 - Fixed deselected checkboxes getting permanently disabled. ## 1.3.7 - Added `gplc-disabled` CSS class to checkboxes disabled by GP Limit Checkboxes to allow external scripts to safely identify (or ignore) checkboxes disabled by GP Limit Checkboxes. ## 1.3.6 - Improved compatibility with GP Inventory when using Scoped Inventory. ## 1.3.5 - Fixed issue with lower limits not being respected with spanned limits. - Improved compatibility with Gravity Forms 2.6 AJAX form saving. - Added "Update URI" to plugin header to improve security. ## 1.3.4 - Improved compatibility with GP Populate Anything. ## 1.3.3 - Fixed issue where non-editable fields were being validated on Gravity Flow User Input steps. ## 1.3.2 - Added [`gplcb_should_validate_minimum`](https://gravitywiz.com/documentation/gplcb_should_validate_minimum/) filter to allow filtering whether a field's minimum limit should be validated. - Added helper function `gp_limit_checkboxes()` which returns an instance of the `GP_Limit_Checkboxes` class to provide a reliable way to access its public methods. ## 1.3.1 - Added [gplcb_checkbox_count](https://gravitywiz.com/documentation/gplcb_checkbox_count-js) filter. ## 1.2.16 - Improved compatibility with Gravity Forms 2.5. - Updated minimum Gravity Perks version to 2.2.5. - Improved compatibility with Gravity Forms 2.5. ## 1.3 - Improved compatibility with Gravity Forms 2.5. - Updated minimum Gravity Perks version to 2.2.5. ## 1.2.15 - Added support for Gravity Flow's User Input steps. ## 1.2.14 - Fixed an issue where administrative fields may produce a cryptic error message when GPLCB is enabled for them. ## 1.2.13 - Fixed dependency on jQuery.migrate that has been removed as of WordPress 5.5. ## 1.2.12 - Fixed issue where checkbox limits were not correctly applied on AJAX-enabled forms when a Checkbox field was hidden by conditional logic by default. ## 1.2.11 - Fixed issue where gplc_validation_message filter was not working when field/group was under minimum. ## 1.2.10 - Fixed conflict with Import Entries by bypassing validation when importing. ## 1.2.9 - Added support for showing Checkbox's admin label (if set) in the span limit setting. - Updated plugin author. ## 1.2.8 - Removed unused method Array.prototype.gplcUnique. ## 1.2.7 - Fixed conflict with Internet Explorer 11 ## 1.2.6 - Fixed conflict with Populate Anything where checkbox count was calculated incorrectly. ## 1.2.5 - Fixed another potential performance issue. ## 1.2.4 - Fixed a few performance issues when limiting a large number of checkbox fields. ## 1.2.3.1 - Removed old documentation images. ## 1.2.3 - Added support for Gravity Forms 2.3 Select All feature. Select All will select up to maximum number of checkboxes. ## 1.2.2 - Renamed gwlimitcheckboxes.pot to gp-limit-checkboxes.pot to match the textdomain. ## 1.2.1 - Fixed issue where unchecking Span Limit setting did not clear field select. ## 1.2 - Added better support for filtering validation messages (@see https://gist.github.com/spivurno/11fad34fb207638f92ce6b13c82d903b) - Added translation support and updated POT. - Added ability to fetch GPLimitCheckboxes instance via window.GPLimitCheckboxes.instances[ formId ] for use in 3rd party integrations. - Added various performance improvements. - Added 'gplc_group' filter (JS & PHP) to allow filtering the limit groups before they are processed on the frontend and before they are validated on submission. - Updated minimum Gravity Forms version to 1.9 - Fixed issue where checkboxes checked by default were not counted towards limits on frontend. - Fixed issue where choices that were disabled via external source would become reenabled - Fixed issue where checkbox fields were incorrectly disabled if limit was enabled with no max limit specified. - Fixed issue where min/max validations were processed even if no min/max limit was specified. - Fixed issue where UI would flash briefly before being hidden when form editor was loading. - Fixed issue where fields hidden by conditional logic were incorrectly validated - Fixed issue where fields were validated on every page submission (rather than only on the page submission that contains them) - Fixed issue where limit JS was not applied when the form was loaded - Fixed issue where fields that were part of a group but did not have specific limit did not trigger checkbox limits ## 1.2.beta2.7 - Fixed issue where checkboxes checked by default were not counted towards limits on frontend. ## 1.2.beta2.6 - Updated POT file. ## 1.2.beta2.5 - Added better support for filtering validation messages (@see https://gist.github.com/spivurno/11fad34fb207638f92ce6b13c82d903b) ## 1.2.beta2.4 - Updated minimum Gravity Forms version to 1.9 - Fixed issue where choices that were disabled via external source would become reenabled ## 1.2.beta2.3 - Fixed issue where checkbox fields were incorrectly disabled if limit was enabled with no max limit specified. - Fixed issue where min/max validations were processed even if no min/max limit was specified. - Fixed issue where UI would flash briefly before being hidden when form editor was loading. ## 1.2.beta2.2 - Fixed issue where fields hidden by conditional logic were incorrectly validated ## 1.2.beta2.1 - Fixed issue where fields were validated on every page submission (rather than only on the page submission that contains them) - Fixed issue where limit JS was not applied when the form was loaded ## 1.2.beta2 - Added translation support - Added ability to fetch GPLimitCheckboxes instance via window.GPLimitCheckboxes.instances[ formId ] for use in 3rd party integrations ## 1.2.beta1.1 - Additional refactoring to improve performance - Fixed issue where fields that were part of a group but did not have specific limit did not trigger checkbox limits ## 1.2.beta1.0 - Refactored code to better support spanned limits (major changes) ## 1.1.4 - Updated perk to use GP_Bootstrap ## 1.1.3 - Fixed issue where pre-selected checkboxes did not initially count towards limit ## 1.1.2 - Fixed issue where choices disabled by GP Limit Choices were enabled unintentionally ## 1.1.1 - Moved script from