On 11/01/2008, Diego Kuperman <[EMAIL PROTECTED]> wrote:
> Hi!, thanks for adding Catalyst::Request::Upload methods !
>
> Did you experiment something like my other issue?
>
> >>
> >> * If I put the constraint "required" on a file field then
> >> form->submitted_and_valid is always false, but the form->param and
> >> $c->req->upload gave the file element ok!.
> >> My yml description looks like this (I stripped aditional fields)
> >>
> >> indicator: submit
> >> auto_fieldset: { legend : 'Song data' }
> >> elements:
> >>
> >> - type: File
> >> name: songfile
> >> label: MP3/OGG File
> >> constraints:
> >> - Required
> >>
> >> - type: Submit
> >> name: submit
> >> value: Save song
> >>
>
> I don't know how to make a test case on this :(
All constraints should now handle file uploads ok (at least, those
that make make sense when it comes to a file).
Cheers,
Carl
_______________________________________________
HTML-FormFu mailing list
[email protected]
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu