logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

HTML::Widget::Element::Upload - Upload Element

Author

       Sebastian Riedel, "sri@oook.de"

Description

       Upload Element.

       Adding an Upload element automatically calls "$widget-"enctype('multipart/form-data')> for you.

License

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

perl v5.36.0                                       2023-08-10                 HTML::Widget::Element::Upload(3pm)

Methods

accept
       Arguments: $type

       A comma-separated list of media types, as per "RFC2045".

   preparecontainerize

Name

       HTML::Widget::Element::Upload - Upload Element

See Also

       HTML::Widget::Element

Synopsis

           my $e = $widget->element( 'Upload', 'foo' );
           $e->comment('(Required)');
           $e->label('Foo');
           $e->accept('text/html');
           $e->maxlength(1000);
           $e->size(23);

See Also