[Zope] Image Upload detection
   
    Phil Grove
     
    phil.grove@flg21.com
       
    Thu, 17 Jun 1999 18:12:18 +0100
    
    
  
Hello all,
second question of the day.
Right, how do you detect if an image has been provided for upload when
using the MULTIPART encryption method on a form?
Basically, i have got a form that uploads three images to Zope and the user
has the choice to upload between 1 and 3 pictures, so obviously, i need to
check if the file boxes are empty or not. For example:
<INPUT TYPE="file" NAME="newImg">
at the zope end:
<!--#if newImg-->
  image is here
<!--#else-->
 nothing there matey boy
<!--#/if-->
does not work.... any ideas on how to check???
Please help, i am losing my hair very quickily....
Cheers,
P.
---------------------------------------------------------------------
Phil Grove	          phil.grove@flg21.com
Web Development         0113 2949494
flg21                   http://www.flg21.com
---------------------------------------------------------------------