About Validator

This module provides a set of useful validation methods using ProcessWire sanitizers.

Category Development Tools
Modules that have more to do with assisting development of a site rather than managing its content.
Release StateStable
Should be safe for use in production environments. *
Module Version0.0.3
Class NameValidator
Compatibility2.5, 2.6, 2.7
Date AddedMay 4, 2015
Last UpdatedJuly 24, 2015
Recommended ByNew recommendations may take up to 1 day to appear.


This module's files should be placed in /site/modules/Validator/
How to install or uninstall modules


Validation for ProcessWire

This module provides a set of useful validation methods.

Example Usage

$conf = array(
  'username' => array('isEmpty', 'isUnique' => array('ident' => 'name', 'sanitize' => 'username')),
  'pass' => array('range' => array('min' => 6, 'max' => 20))
$validator = new Validator;
if (!$validator->isValid()) $errors = $validator->getErrors();

Read more!

The Guides


  • Jim

    Jim 4 years ago 00

    FYI: The links to the guides on this module are not working.

Post a Comment

Your e-mail is kept confidential and not included with your comment. Website is optional.