[Zope] verify whether html <input type=file... is empty

Tim Cook twcook@iswt.com
Wed, 17 Jan 2001 11:11:10 -0600


Andrei Belitski wrote:
> 
> Hi!
> Don't know if it is really a zope question, but I have a problem,
> verifying if e.g. input
> <INPUT TYPE="file" NAME="image_1" SIZE="50">

> to test is if the user put in the filename and not whether the really
> existing file is empty, so how could aI do it?

<dtml-if image_1>
  ...do your stuff...
</dtml-if>

HTH,
-- Tim Cook, President --
Free Practice Management,Inc. | http://www.FreePM.com Office:
(901) 884-4126
"When the government fears the People, that is Liberty. When the
People fear
the Government, that is tyranny." ~~ Thomas Jefferson