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)
- 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.
- Docs on drupal.org
- Date range
- PHP code validator
- Lullabot: Write complex validation rules for your fields
Additional documentation is located in the Wiki: https://github.com/backdrop-contrib/field_validation/wiki/Documentation.
To submit bug reports and feature suggestions, or to track changes: https://github.com/backdrop-contrib/field_validation/issues.
- Jen Lampton.
- Seeking additional maintainers.
- Ported to Backdrop CMS by Herb v/d Dool.
- Ported to Backdrop CMS by Jen Lampton.
- Originally written for Drupal by Howard Ge.
- Inspired by Webform Validation.
This project is GPL v2 software. See the LICENSE.txt file in this directory for complete text.