Sponsoring The Perl Toolchain Summit 2025: Help make this important event another success Learn more

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'