[fw-general] Re: setDestination in Zend_Form_Element_File

2010-08-06 Thread ukanga
I think you need to invovle Zend_File_Transfer somewhere. Could you check this blog post http://ahsangill.wordpress.com/2009/02/17/zend-framework-file-upload-using-zend_form_element_file/, it helped me out when I had to do a file upload. Regards, Ukang'a Dickson On Fri, Aug 6, 2010 at 9:19 PM,

[fw-general] Re: setDestination in Zend_Form_Element_File

2010-08-07 Thread simukti
according to your code, i try to rewrite it to something like this: //form model class forms_ImportForm extends Zend_Form { public function init() { $this->setMethod('post'); $uploadFile = new Zend_Form_Element_File('extract'); $uploadFile->setLabel('File')