Cheers guys, I'm trying to submit two forms but one of the forms requires calculated values from the second so was wondering if it was possible to put one form within the other.
Thanks Dale, I'll go with the javascript option of copying the required fields as hidden fields for the initial form. Thanks Suzy -----Original Message----- From: Dale Newfield [mailto:[EMAIL PROTECTED] Sent: February 26, 2008 4:26 PM To: Struts Users Mailing List Subject: Re: [struts] [OT] Re: Multiple / Nested Forms Suzy Fynes <[EMAIL PROTECTED]> wrote: > nested forms What is it that you're trying to achieve? If you have some inputs you want to appear in several forms the two simplest solutions would be 1> to have multiple forms and add javascript to copy values from one into hidden fields in the other just before submission, or 2> to add them all into a single form and either adjust the submission page with javascript before submission or put logic in the action to recognize which submission button was pressed and do the right thing. -Dale --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]