CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Simulating a SUBMIT in PHP

Print topic Send  topic

Author Message
JS
Posted: 11/04/2003, 7:44 AM

I have a page with 4 forms on it, 1 record and 3 editable grids. Is there any way to simulate a SUBMIT on the grids when the UPDATE button is pressed on the record form. I tried a Javascript:
function saveall(){
document.form1.submit();
document.form2.submit();
... }

but only the last form actually submits. Is there a way in PHP to call the grid submit functions. Thanks for any help.

ryan
Posted: 11/04/2003, 3:21 PM

<!-- begin record1name -->
<form...>
</form>
<!-- end record1name -->

<form Onsubmit="PlaceYourJScriptFunctionHere();" name="{formname}">
<!-- begin grid1name -->
<!-- end grid1name -->

<!-- begin grid2name -->
<!-- end grid2name -->

<!-- begin grid3name -->
<!-- end grid3name -->
</form>
JS
Posted: 11/06/2003, 4:13 AM

ryan,
thanks for the response. are you saying that i need to encapsulate all 3 grids in 1 form? these grids each deal with different database tables. how does this allow all 3 Update events to run. thanks again for your help.

   


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.