If a file is submitted via Zend_Form_Element_File it returns the files
location,

i.e. $location = $form->foo->getValue();

but if no file is submitted it returns the the destination directory, i.e.
if by default, the system temp directory.

Is this expected behavior? Wouldn't it be better to have it return null if
no file was uploaded?

-- 
View this message in context: 
http://www.nabble.com/Zend_Form_Element_File-value-tp19386018p19386018.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to