Scroll to navigation

HTML::Widget::Constraint::Any(3pm) User Contributed Perl Documentation HTML::Widget::Constraint::Any(3pm)

NAME

HTML::Widget::Constraint::Any - Any Constraint

SYNOPSIS

    my $c = $widget->constraint( 'Any', 'foo', 'bar' );

DESCRIPTION

One or more of the named fields must be present.

METHODS

process

default_message

render_errors

Arguments: @names

A list of element names for which an error should be displayed.

If this is not set, the default behaviour is for the error to be displayed for all of the Constraint's named elements.

AUTHOR

Sebastian Riedel, "sri@oook.de"

LICENSE

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
2018-02-25 perl v5.26.1