PHPackages                             gf-gw-req-char-length/gf-gw-req-char-length - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. gf-gw-req-char-length/gf-gw-req-char-length

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

gf-gw-req-char-length/gf-gw-req-char-length
===========================================

Require a minimum and/or maximum character length for specific Gravity Forms fields, displaying an informative Gravity Form validation error to the user for disallowed entries.

2.0.1(7y ago)4591GPL-3.0-or-laterPHPPHP &gt;=5.4

Since Oct 27Pushed 7y ago1 watchersCompare

[ Source](https://github.com/cliffordp/gf-gw-req-char-length)[ Packagist](https://packagist.org/packages/gf-gw-req-char-length/gf-gw-req-char-length)[ RSS](/packages/gf-gw-req-char-length-gf-gw-req-char-length/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)DependenciesVersions (3)Used By (0)

GF\_GW\_Req\_Char\_Length
=========================

[](#gf_gw_req_char_length)

Require a minimum and/or maximum character length for specific Gravity Forms fields, displaying an informative Gravity Form validation error to the user for disallowed entries.

Example Usage of this Class
---------------------------

[](#example-usage-of-this-class)

***See  for several examples.***

### Example Composer Usage

[](#example-composer-usage)

Here's an example of what you might want to put in your own project's `composer.php`:

```
{
	"require": {
		"gf-gw-req-char-length/gf-gw-req-char-length": ">=2.0.1
