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?
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
participants (2)
-
Jeff Sacksteder -
Maik Jablonski