NAME

Mango::Form::Results - Module representing form validation results

SYNOPSIS

    my $form = Mango::Form->new({
        source => 'path/to/some/config.yml'
    });
    my $results = $form->validate;
    if (!$results->success) {
        print @{$results->errors};
    };

DESCRIPTION

Mango::Form::Results contains for validation results.

CONSTRUCTOR

new

Creates a new Mango::Form::Results object.

METHODS

errors

Returns an array reference containing the localized errors while validating the form data.

success

Returns true if form validation succeeded; false otherwise.

SEE ALSO

Mango::Form::Results, CGI::FormBuilder, FormValidator::Simple

AUTHOR

    Christopher H. Laco
    CPAN ID: CLACO
    claco@chrislaco.com
    http://today.icantfocus.com/blog/