Skip to content

backdrop-contrib/field_validation

Repository files navigation

Field Validation

Allows for validation rules for field instances.

The following validators are currently included:

  • Regular expression
  • Numeric values (optionally specify min and / or max value)
  • Length (optionally specify min and / or max length)
  • Number of words (optionally specify min and / or max words )
  • Plain text (disallow tags)
  • Must be empty (Anti-Spam: Hide with CSS)
  • Words blacklist
  • Number of selections (optionally specify min and / or max selections )
  • Unique
  • Match against a field
  • Match against a property
  • Specific value(s)
  • Require at least one of several fields
  • Equal values on multiple fields
  • Unique values on multiple fields
  • PHP Code (powerful but dangerous)
  • URL (support internal path and external url validation)
  • Email
  • Pattern (Regular expression lite)
  • Date range2

Field validation extras sub-module includes the following validators:

  • Color(HTML5)
  • Date(ISO)
  • EAN number
  • Field collection unique
  • Integer values
  • IP Address
  • Numeric (HTML5, with the option to specify min/max/step)
  • Regular expression (Perl-Compatible)
  • Phone
  • Required field
  • Require some of several fields
  • Postal code (depend on Postal Code Validation, support Address Field)

The Property Validation sub-module could solve validation issues for non-field properties, such as title, Ubercat SKU, list_price, etc.

Documentation

Additional documentation is located in the Wiki: https://github.com/backdrop-contrib/field_validation/wiki/Documentation.

Issues

To submit bug reports and feature suggestions, or to track changes: https://github.com/backdrop-contrib/field_validation/issues.

Current Maintainers

Credits

License

This project is GPL v2 software. See the LICENSE.txt file in this directory for complete text.

About

Specify validation rules for your field instances.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages