On 12 December 2010 16:12, Erez Schatz <moonb...@gmail.com> wrote:
> Hi, I'm using the following to validate a file upload field:
>
> - type: File
>  name: photo
>  label: 'Photo:'
>  constraints:
>  - type: File::Size
>    minimum: 1
>    maximum: 500000
>
> Yet, when I attempt to upload a 15 kb file, which should be well within
> the parameters, the form invalidates with a "File-size must be between 1
> and 500000 bytes" error. Is this a familiar issue, or something I can do
> to resolve this?

Hi,
I'm not aware of any issues, but I'll look into it.
Is this with the latest cpan version, or the new Moosified version in trunk?
Is this under Catalyst, or the default HTML::FormFu::QueryType::CGI or
HTML::FormFu::QueryType::CGI::Simple ?
Cheers,
Carl

_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to