CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.

YesSoftware Forums -> CodeCharge Studio -> .NET

 Submitting Multiple Forms with One Submit Button

Print topic Send  topic

Author Message

Posts: 45
Posted: 10/29/2005, 2:12 PM


Does any one know that javascript that is needed to submit multiple forms on a page using one submit button? In other words I would like one button to fire the Update event for multiple forms on one page.


Shawn :-)
View profile  Send private message
Posted: 10/31/2005, 6:58 AM

ASP.NET has only one form on the page. When you press submit, browser will send all controls to the server. You should call in server (not client) On Click event all desired handlers for other forms .

Napoleon N. Valdez
Posted: 12/22/2005, 3:49 PM

If you want to use javascript, you can make it so that when they click on the submit button, it will call a function that will submit all the forms. This works for IE. Not sure for any other browser.

function submitallforms() {
// End -->

<input type=button value="Submit" onclick="submitallforms();">

Napoleon N. Valdez
Senior Web Database Developer
Caspio, Inc.
Toll-free: (877) 820-9100 ext. 703
Local or International: +1.408.970.0500 ext. 703
Fax: 1.408.516.9925

Add new topic Subscribe to topic   

These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

Internet Database

Visually create Web enabled database applications in minutes.

Home   |    Search   |    Members   |    Register   |    Login

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