The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Strehler::FormFu::Validator::UserUnique - FormFu Validator for User form.

DESCRIPTION

A FormFu Validator to ensure that a user can't be created with a name already used.

This validator hasn't the standard HTML::FormFu validators namespace because it makes sense only in a Strehler system.

SYNOPSIS

In user form configuration:

    - name: user
      label: Username
      attributes: 
        class: span8
      validators:
        - type: '+Strehler::FormFu::Validator::UserUnique'
          message: 'Username already exists'