Hi

In my form I have a Zend_Form_Element_File like this:

$image = new Zend_Form_Element_File('Image');
$image->setLabel('Image')
               ->setDestination('c:/temp')
               ->addFilter('Rename', 'Art_1234')
               ->addValidator('Size', false, '1M')
               ->setMaxFileSize(1048576)
               ->setRequired(false);

The file is uploaded after $form->getValues() but with it's original name.
What is the problem with this ?

Thanks in advance.

Cheers
holo

Reply via email to