I'll post this on Zope Tips.

I've struggled with this for almost an hour soon, and since no good answer 
was provided in the mailinglist or the weblogs, I post it.

How to check if an Image has been uploaded from a file form or not.

<input type=file name=myimage>

<dtml-if "_.len(_.getattr(myimage,'filename')) > 0">
  Image posted
  No image posted

Reflections on this?

/ Peter

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to