Strehler::FormFu::Validator::UserUnique - FormFu Validator for User form.
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.
In user form configuration:
- name: user label: Username attributes: class: span8 validators: - type: '+Strehler::FormFu::Validator::UserUnique' message: 'Username already exists'
To install Strehler, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Strehler
CPAN shell
perl -MCPAN -e shell install Strehler
For more information on module installation, please visit the detailed CPAN module installation guide.