|
NAMEForm::Sensible::Field::FileSelector - Field used for file selection SYNOPSIS use Form::Sensible::Field::FileSelector;
my $object = Form::Sensible::Field::FileSelector->new({
name => 'upload_file',
valid_extensions => [ "jpg", "gif", "png" ],
maximum_size => 262144,
});
DESCRIPTIONForm::Sensible::Field subclass field that represents a File. When the FileSelector field type is used, the user will be prompted to select a file. Depending on the user interface, it may be prompting for a local file or a file upload. ATTRIBUTES
METHODSget_additional_configurationA convenience method to return the following attributes in a hashref:
AUTHORJay Kuri - <jayk@cpan.org> SPONSORED BYIonzero LLC. <http://ionzero.com/> SEE ALSOForm::Sensible LICENSECopyright 2009 by Jay Kuri <jayk@cpan.org> This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|