On Fri, Jun 12, 2009 at 11:34 PM, Jonathon Wallen<jonat...@cub3d.com> wrote:
>
> 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.
>

Does the validator on the element break the validation chain? Maybe
that is it. If it doesn't the rest would keep on processing.
Generally, might be not a bad idea to upload the image and ask the
user to correct the missing input. :-)

Till

Reply via email to