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

 Update Record Programically

Print topic Send  topic

Author Message
mbennie
Posted: 03/14/2002, 4:30 PM

I have a form which is used to pass a number of hidden fields for credit card processing.

How can I get the form to 'submit' automatically?

I've tried it through the URL with
orderplacement.asp?RequestID=16254&FormName=orderplacement&FormAction=update

but get the error
Command text was not set for the command object. (Microsoft OLE DB Provider for SQL Server)

Is there a simple way to submit a form action in the before show event?

Mike


Sam M
Posted: 03/14/2002, 5:14 PM

To automatically submit a form your body tag should look something like this

body onload="document.formname.submit()"

Remember to replace .formname with the name of your form.

It's easy to do, and fun at parties.

Cheers,
Sam

   


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.