1HTML::FormFu::ValidatorU:s:eCralClobnatcrki(b3u)ted PerlHTDMoLc:u:mFeonrtmaFtui:o:nValidator::Callback(3)
2
3
4

NAME

6       HTML::FormFu::Validator::Callback - Callback validator
7

VERSION

9       version 2.07
10

SYNOPSIS

12           $field->validator('Callback')->callback( \&my_validator );
13
14           ---
15           elements:
16             - type: Text
17               name: foo
18               validators:
19                 - type: Callback
20                   callback: "main::my_validator"
21

DESCRIPTION

23       Callback validator.
24
25       The first argument passed to the callback is the submitted value for
26       the associated field. The second argument passed to the callback is a
27       hashref of name/value pairs for all input fields.
28

METHODS

30   callback
31       Arguments: \&code-reference
32
33       Arguments: "subroutine-name"
34

SEE ALSO

36       Is a sub-class of, and inherits methods from HTML::FormFu::Validator
37
38       HTML::FormFu
39

AUTHOR

41       Carl Franks "cfranks@cpan.org"
42

LICENSE

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

AUTHOR

48       Carl Franks <cpan@fireartist.com>
49
51       This software is copyright (c) 2018 by Carl Franks.
52
53       This is free software; you can redistribute it and/or modify it under
54       the same terms as the Perl 5 programming language system itself.
55
56
57
58perl v5.32.0                      2020-07-2H8TML::FormFu::Validator::Callback(3)
Impressum