[Zope] Trouble with forms

jeffr@odeon.net jeffr@odeon.net
Sun, 26 Mar 2000 14:14:43 -0600 (CST)


	Greetings,

	I've got a form that has three fields.  One for year, one for day,
	and one for month.  The selection parts of the form are similar to
	the following:

   <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>


	What I'm trying to do is pull the 'date_mm' (along with the other
	two fields, 'date_yy' and 'date_dd') into the namespace area so I
	can do something like:

  <input type="hidden" name="event.date" value= \
    "<dtml-var var_yy>-<dtml-var var-mm>-<dtml-var var-dd>">

	I would expect that I can use something like:

  <dtml-call "REQUEST.set('var_mm', 'date_mm')">

	However, that doesn't work like I'd hoped.

	Any help would be greatly appreciated,

	Jeff