Gerda Shank > HTML-FormHandler > HTML::FormHandler::Field::PasswordConf

Download:
HTML-FormHandler-0.40057.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.03   Source  

NAME ^

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

VERSION ^

version 0.40057

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) 2014 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.

syntax highlighting: