CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 single submit button for two grids on one page

Print topic Send  topic

Author Message
thuslin
Posted: 04/22/2004, 8:14 AM

I have a series of pages that contain two grids. They were created by the CCS 2 builders. I would like to have only one set of add/submit/delete buttons work for both grids. I have tried using the clients-side OnClick event, Submit Form action on one Submit button do a submit for the other form, but it then doesn't do the submit for itself. How can I do the submit for both at the same time?

Thanks
peterr


Posts: 5971
Posted: 04/22/2004, 10:40 AM

The HTML standard doesn't support submitting multiple forms together. This just cannot work.

In our own examples we also had to pull some tricks to solve this. For example when you change something within one of the forms at http://examples.codecharge.com/ExamplePack/OrderEntry/O....php?order_id=3 , then we have to disable the "Submit" button on the other form. Otherwise the users might change something on both forms but only one could be submitted (the other form data would be lost).
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

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 http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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