NAME

HTML::FormHandler::Field::Password - Input a password

DESCRIPTION

Validates that it does not contain spaces (\s), contains only wordcharacters (alphanumeric and underscore \w), is not all digits, and is at least 6 characters long.

You can add additional checks by using 'apply' in the field definition:

has_field 'password' => ( type => 'Password', 
       apply => [ { check => sub { .... },
                    message => 'Password must contain....' } ],
);

If a password field is not required, then the field will be marked 'noupdate', to prevent a null from being saved into the database.

ne_username

Set this attribute to the name of your username field (default 'username') if you want to check that the password is not the same as the username. Does not check by default.

AUTHORS

Gerda Shank

COPYRIGHT

See HTML::FormHandler for copyright.

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.