Christopher H. Laco > Mango-0.01000_13 > Mango::Form::Results

Download:
Mango-0.01000_13.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

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/
syntax highlighting: