HTML::Widget::Element::Upload - Upload Element
my $e = $widget->element( 'Upload', 'foo' ); $e->comment('(Required)'); $e->label('Foo'); $e->accept('text/html'); $e->maxlength(1000); $e->size(23);
Upload Element.
Adding an Upload element automatically calls
$widget-
enctype('multipart/form-data')> for you.
Arguments: $type
A comma-separated list of media types, as per RFC2045
.
the HTML::Widget::Element manpage
Sebastian Riedel, sri@oook.de
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.