HTML::FormFu::Constraint::Repeatable::Any - Ensure at least 1 of a repeated field is filled-in


HTML-FormFu documentation  | view source Contained in the HTML-FormFu distribution.

Index


NAME

Top

HTML::FormFu::Constraint::Repeatable::Any - Ensure at least 1 of a repeated field is filled-in

SYNOPSIS

Top

    elements:
      - type: Repeatable
        elements:
          - name: foo
            constraints:
              - type: Repeatable::Any

DESCRIPTION

Top

Ensure at least 1 of a repeated field is filled-in.

Any error will be attached to the first repetition of the field.

This constraint doesn't honour the not() value.

SEE ALSO

Top

Is a sub-class of, and inherits methods from HTML::FormFu::Constraint

HTML::FormFu

AUTHOR

Top

Carl Franks cfranks@cpan.org

LICENSE

Top

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


HTML-FormFu documentation  | view source Contained in the HTML-FormFu distribution.