[Zope] accessing REQUEST variable

Mike Doanh Tran mtran at shufflemasterrd.com
Wed Oct 15 13:25:43 EDT 2003


What am i doing wrong here?

I am trying to access a variable passed from a form. I named the input field 
current_delivery plus a Cust_ID(see below).  The variable that i am tried to 
accessed is part a string and a variable.  I've tried to contatenate the 
"string + variable" with the let tag and used that to access the REQUEST 
variable. 

<input type=text name="current_delivery<dtml-var Cust_ID>"  value="">
<input type=hidden name="rec.Cust_ID:records">
----------------------------------------------------------------------
<dtml-in rec mapping>
 <dtml-let delivery="'current_delivery'+Cust_ID">
    <dtml-var "REQUEST['delivery']">
 </dtml-let delivery>
</dtml-in rec mapping>

Basically, i am just trying to access the first input field from above:
<dtml-var expr="'current_delivery'+Cust_ID">

Can someone help me with the syntax please?  Appreciate any
suggestions.

Thanks,

Mike








More information about the Zope mailing list