[Zope] passing :records on in a hidden field

Dieter Maurer dieter@handshake.de
Thu, 15 May 2003 20:24:06 +0200


Erik Myllymaki wrote at 2003-5-14 13:24 -0700:
 > I am collecting form data in a :records object:
 > 
 > <form action="page2">
 > <input type=text name="stuff.name:records:string" value="" >
 > <input type=text name="stuff.snumber:records:int" value="" >
 > <input type="submit" value="Submit">
 > </form>
 > 
 > On page2, I have another form that I am collecting data in, and would then
 > like to pass both records objects on to page3, but a  simple <input
 > type="hidden" name=stuff value=<dtml-var stuff> > doesn't work (it passes a
 > string that represents the records).
 > 
 > Any ideas?

You might consider using a session object to pass complex data
between requests.

Please read the Zope Book.


Dieter