[Zope] Re: dtml modification of request

Maik Jablonski maik.jablonski@uni-bielefeld.de
Mon, 27 Jan 2003 15:43:56 +0100


Jeff Sacksteder wrote:
> I have a DTML document containing a form with input feilds named input_a and
> input_b. I want to pass a calculated value along with these two items into
> the target of the form. 
> 
> My understanding was I could wrap a <dtml-let input_c="foobar"> around the
> form and get all three values visable in my form destination object. How can
> I pass this variable into the request?

You have to put a hidden-form-field into your form. something like this 
should do the job:

<form...>
...
<input type="hidden" name="input_c" value="foobar">
...
</form>

Another approach would be: SESSIONs... (more info in the ZopeBook)

-mj