[html-formfu] password processing

Carl Franks fireartist at gmail.com
Tue Jan 26 18:40:38 GMT 2010


2010/1/26 Octavian Rasnita <orasnita at gmail.com>:
>
> Can you give us a short example of a custom-made transformer?

This is just a minor edit of HTML::FormFu::Transformer::Callback...

package MyApp::MyValidator;

use strict;
use base 'HTML::FormFu::Validator';

sub validate_value {
    my ( $self, $value ) = @_;

    # return $new_value
}

1;



More information about the HTML-FormFu mailing list