NAME

HTML::FormHandler::Field::PasswordConf - password confirmation

VERSION

version 0.40068

DESCRIPTION

This field needs to be declared after the related Password field (or more precisely it needs to come after the Password field in the list returned by the "fields" in HTML::FormHandler method).

password_field

Set this attribute to the name of your password field (default 'password')

Customize error message 'pass_conf_not_matched' or 'required'

has_field '_password' => ( type => 'PasswordConf',
     messages => { required => 'You must enter the password a second time' },
);

AUTHOR

FormHandler Contributors - see HTML::FormHandler

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Gerda Shank.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.