2008年10月28日星期二

Re: [fw-mvc] Multiple upload fields for one form element

Did you read the manual ?
Look at "setMultiFile()".

Note: Does only work on trunk without problems.

Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com

----- Original Message -----
From: "Cristian Bichis" <contact@zftutorials.com>
To: <fw-mvc@lists.zend.com>
Sent: Tuesday, October 28, 2008 3:43 PM
Subject: [fw-mvc] Multiple upload fields for one form element


> Hello,
>
> I am encountering a problem when working with Zend_Form_Element_File.
>
> My problem would be that for one file form element i need to upload
> multiple files. Aka: file[] file[] file[]
>
> How do i add all those upload fields to form ? By adding multiple fields
> eahc with same name as file[] ?
>
> --
> Best regards,
> Cristian Bichis
> www.zftutorials.com | www.zfforums.com | www.zftalk.com | www.zflinks.com

没有评论: