CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Submitting Multiple forms with single button

Print topic Send  topic

Author Message
JFS
Posted: 05/26/2003, 11:22 AM

I have a page with 4 forms on it. I want the user to be able to fill in all 4 forms and click a single button to submit them All. Anybody know how to do this? If so, will the standard BeforeInsert events be handled normally? Thanks for any help
JFS
Posted: 05/27/2003, 4:21 AM

For anybody interested I figured it out. I manually attached a onClick Javascript to a button that called the submit() function for each form on the page.

function submit_all()
{
document.formname1.submit();
document.formname2.submit();
...
}

<input class="CobaltButton" type="button" value="Save All" onClick="submit_all()">

Hope this helps someone else trying to do the same thing. BTW, I was not able to make it work if I attached the onClick to one of the standard UPDATE buttons. An yes, the normal BeforeInsert events are handled normally.
Jayme
Posted: 08/18/2003, 3:16 AM

Can you please provide a little more detail on how
you did this? And were the forms single input only (as opposed to multiple recordset input)?

Thank you. Jayme

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.