[Zope] Trouble with forms
Kevin Dangoor
kid@kendermedia.com
Sun, 26 Mar 2000 15:43:43 -0500
----- Original Message -----
From: <jeffr@odeon.net>
To: <zope@zope.org>
Sent: Sunday, March 26, 2000 3:14 PM
Subject: [Zope] Trouble with forms
> <select name="date_mm">
> <option value="01">January
> <option value="02">February
> <option value="03">March
> <option value="04">April
> <option value="05">May
> <option value="06">June
> <option value="07">July
> <option value="08">August
> <option value="09">September
> <option value="10">October
> <option value="11">November
> <option value="12">December
> </select>
> I would expect that I can use something like:
>
> <dtml-call "REQUEST.set('var_mm', 'date_mm')">
Looks to me like you're close...
<dtml-call "REQUEST.set('var_mm', date_mm)">
Note that there are no quotes around date_mm. Assuming that this DTML is in
something POSTed to by your form, date_mm will be available in the
namespace, and you can use it like a normal variable.
Kevin