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