1HTML::FormFu::ConstrainUts:e:rAlCloOnrtNroinbeu(t3e)d PeHrTlMLD:o:cFuomremnFtua:t:iCoonnstraint::AllOrNone(3)
2
3
4

NAME

6       HTML::FormFu::Constraint::AllOrNone - Multi-field All or None
7       Constraint
8

VERSION

10       version 2.07
11

SYNOPSIS

13           type: AllOrNone
14           name: foo
15           others: [bar, baz]
16

DESCRIPTION

18       Ensure that either all or none of the named fields are present.
19
20       By default, if some but not all fields are submitted, errors are
21       attached to those fields which weren't submitted. This behaviour can be
22       changed by setting any of "attach_errors_to_base" in
23       HTML::FormFu::Role::Constraint::Others, "attach_errors_to_others" in
24       HTML::FormFu::Role::Constraint::Others or "attach_errors_to" in
25       HTML::FormFu::Role::Constraint::Others.
26
27       This constraint doesn't honour the "not()" value.
28

SEE ALSO

30       Is a sub-class of, and inherits methods from
31       HTML::FormFu::Role::Constraint::Others, HTML::FormFu::Constraint
32
33       HTML::FormFu
34

AUTHOR

36       Carl Franks "cfranks@cpan.org"
37

LICENSE

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

AUTHOR

43       Carl Franks <cpan@fireartist.com>
44
46       This software is copyright (c) 2018 by Carl Franks.
47
48       This is free software; you can redistribute it and/or modify it under
49       the same terms as the Perl 5 programming language system itself.
50
51
52
53perl v5.32.0                      2020-07H-T2M8L::FormFu::Constraint::AllOrNone(3)
Impressum