Releases: cliffordp/gf-gw-req-char-length
Releases · cliffordp/gf-gw-req-char-length
Version 2.0.1
Version 2.0.0
October 26, 2018
- Pretty much fully rewritten from https://gist.github.com/spivurno/8220561 (considered as Version 1.0.0 from May 30, 2014)
- Now requires Gravity Forms version 2.3+ (an arbitrarily-chosen recent version where
GFForms::$version
is used instead of the now-deprecatedGFCommon::$version
). Current GF version at time of this release is 2.3.6. - Now requires PHP 5.4+ (uses array short syntax).
- Changed license from GPLv2+ to GPLv3+.
- Renamed class to better describe actual functionality, as it can be used for minimum and/or maximum.
'field_id'
argument now supports array type fields, such as Name and Address fields. (e.g. require Address Line 1 to be 5-30 characters long)'field_id'
argument now supports passing an array to apply the same rules and messaging to multiple fields at once. (e.g. same length and messaging to First Name and Last Name)- Added
composer.php
- Added multiple new examples to demonstrate available functionality, but removed them from this file in case this class is added to your project via Composer. See them at https://gist.github.com/cliffordp/551eb4f67b8db8e19d3d59a0f2b7a6f9
Version 1.0.0
- Just a historical record of the original gist (https://gist.github.com/spivurno/8220561) from May 30, 2014.
- Not recommended to use. Use version 1.1.0 or later, instead.