I have passed data from one form to another using REQUEST. I collect the data from one form, with a python script as the action. The script "does stuff", and in my case, puts a list together, which I then pass to a dtml method for display.
From the script I do:
context.REQUEST.set('work',work_orders_dict.keys()) return context.trace_back(context, context.REQUEST) Where trace_back is my dtml method. You can then directly access your list from the dtml_method: <dtml-in work> <dtml-var sequence-item> </dtml-in> or something similar. In your case you may be able to collect data in form 1, send it to a python script, from the script pass your object into request and call form2. Then have form 2 collect more info, send that to a script, put both objects into request, and finally have both objects available for form 3. I have never tried this mind you :) Scott -----Original Message----- From: Erik Myllymaki [mailto:erik.myllymaki@starpointe.ca] Sent: Wednesday, May 14, 2003 1:24 PM To: zope@zope.org Subject: [Zope] passing :records on in a hidden field 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? _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) The information contained in this email message may be privileged and is confidential information intended only for the use of the recipient or any employee or agent responsible for delivering it to the intended recipient. Any unauthorized use, distribution or copying of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify the sender immediately and destroy the original message and all attachments from your electronic files.