[Zope] Getting value from a form field

Bart Holthuijsen gonk_@hotmail.com
Tue, 16 May 2000 02:18:20 PDT


Hi fellow Zopiasts!

I'm having a problem with getting the value from a Form field. Here's some 
code:

FORM ACTION=convuplmethod METHOD="POST" ENCTYPE="multipart/form-data">
<TABLE CELLSPACING="2">
<TR>
  <TH ALIGN="LEFT" VALIGN="TOP"><EM><STRONG>XML File</STRONG></EM></TD>
  <TD ALIGN="LEFT" VALIGN="TOP">
     <INPUT TYPE="file" NAME="filenaamXML:string" SIZE="25">
  </TD>
</TR>
<TR><TH></TH>
    <TD>
       <INPUT TYPE="SUBMIT" VALUE="Proceed">
       <INPUT TYPE="reset" VALUE="Reset">
    </TD>
</TR>
</FORM>

now how do I get the value that is filled in in the field?
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.

Thanks in advance,
Bart Holthuijsen.

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com