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 |
|
|
|