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

SYNOPSIS

10           type: AllOrNone
11           name: foo
12           others: [bar, baz]
13

DESCRIPTION

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

SEE ALSO

27       Is a sub-class of, and inherits methods from
28       HTML::FormFu::Constraint::_others, HTML::FormFu::Constraint
29
30       HTML::FormFu
31

AUTHOR

33       Carl Franks "cfranks@cpan.org"
34

LICENSE

36       This library is free software, you can redistribute it and/or modify it
37       under the same terms as Perl itself.
38
39
40
41perl v5.12.1                      2010-05H-T1M6L::FormFu::Constraint::AllOrNone(3)
Impressum