This should work: <html><head><title>Master/Detail Form</title> </head> <body> <dtml-in MasterQuery> <form name="Main" action="URL?key=master_key" method="post"> --Form elements and submit button for Master-- </form> <dtml-in DetailQuery> <form name="Detail-<dtml-var "_.str(_['sequence-index'])">" action="URL?key=detail_key" method="post"> --Form elements and submit button for detail item-- </form> </dtml-in> </dtml-in> </body></html> Changes to the Master Information and changes to information in each line item would be saved separately by clicking the appropriate submit button. Alternately, you could call a javascript function when the submit for the Master portion is clicked that would programmaticaly submit each line item. You would have the http response for each of the line items go to a popup window that would close itself. After submitting all the line items the function would submit the master info and refresh the form. __________________________________________________________________ Jim Sanford . Database Engineer / \ / Accelerated Technology, Inc. / / 720 Oak Circle Drive East / / \ Mobile, AL 36609 / / \ Voice: 334-661-5770 fax: 334-661-5788 / \ E-Mail: jsanford@atinucleus.com Web: http://www.atinucleus.com Source Code, No Royalties, Any CPU...It just make sense ! __________________________________________________________________ ----- Original Message ----- From: Juan Javier Carrera Obrero <jcarrera@uco.es> To: <zope-dev@zope.org> Sent: Wednesday, February 23, 2000 6:49 AM Subject: [Zope-dev] MASTER/DETAIL Form. Hello !! Anybody know to how to do a master/detail form ? Thanks. ------ Juan Javier Carrera Obrero e-mail: jcarrera@uco.es _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )