Hi Sougata, you can if you set the target attribute of the forms either 
programmaically or in the
tag itself to a frame other than the current one.

Something like:
<html:form ... target="form1FrameResults">
.
.
.
</html:form>

<html:form action="/myAction" target="myActionResults">
.
.
.
</html:form>

<html:form action="/myOtherAction" target="myOtherActionResults">
.
.
.
</html:form>

<input type="button" value="Submit Both Forms"
onclick="myActionForm.submit();myOtherActionForm.submit();">

And you would need two frames from a frameset named myActionResults and 
myOtherActionResults, or two
iFrames if you're clients are using IE >v4.0, Mozilla, Netscape >v6.0 or Opera.  Or 
you could
probably get away with using the current frame as a target for one of the forms.

Craig.
<tataryn:craig/>
On Thu, 11 Mar 2004 11:12:10 +0530, "sougata" wrote:

> 
> Hi folks
> I have an application.Where in my parent page there is a child page.In the
> child form there is one submit button and in the parent there is another
> submit button.It is like that for one parent  user can add multiple
> child.Now if the user does not click the child submit I have to submit both
> submit.shlall i do it pls let me know
> 
> Thanks
> 
> Sougata


<tataryn:craig/>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to