[Zope] Getting value from a form field

Dieter Maurer dieter@handshake.de
Tue, 16 May 2000 20:38:25 +0200 (CEST)


Bart Holthuijsen writes:
 > In my convuplmethod method I have:
 > 
 > <dtml-var "REQUEST.form['filenaamXML']">
 > 
 > But this returns the contents of the file, and all I want is the path.
"REQUEST.form['filenaamXML']" is in fact a
"ZPublisher.cgi.FieldStorage" instance.
See "ZPublisher/cgi.py" for a documentation of "FieldStorage" instances.

- Dieter