Jean Jordaan writes:
tdinput type="file"
name="file"
dtml-if file value="dtml-var "file"" /dtml-if
/td
Which returns::
ZPublisher.HTTPRequest.FileUpload instance at 131dc48
This is a perfect receipt where you should look for
Hi Zopers
I've got this::
tdinput type="file"
name="file"
dtml-if file value="dtml-var "file"" /dtml-if
/td
Which returns::
ZPublisher.HTTPRequest.FileUpload instance at 131dc48
in the input box. I'd really rather have the filename. How does
one
Hi
file.filename should be what you are after. e.g. In my latest project I set a
variable myFileName to be the name of the file uploaded using
dtml-var "REQUEST.set('myFileName',file.filename)"
where file is the name of my file upload control in my form.
Ian
Original Message ---
Hi