>>On 13/06/2009, at 3:12 AM, gerardroche wrote:
>>
>> Now if you add a file to upload (i.e. in the above example you attach a
>> photo to the form for upload) and the name element (i.e. the text
>> element)
>> *fails* validation the file is still uploaded to the "images/photos"
>> folder.
>
>Sounds like you might be moving the uploaded file to images/photos
>before checking if the submitted form is valid.
>
>Jonathon Wallen
i would actually expect that this is the case or it is a ZF bug because I
find it difficult to believe that the behavior I outline is intended.
I will setup a clean fresh example on its own and see. I would have done
this to begin with but I thought my first post was pretty cut & dry, it's
either expected or it's something else.
--
View this message in context:
http://www.nabble.com/Zend_Form_Element_File--tp23990412p24010062.html
Sent from the Zend Framework mailing list archive at Nabble.com.