...

View Full Version : auto submit a form



BroChris
01-13-2004, 04:23 PM
I thought I saw this here before, but couldn't find it, sorry.

I need to submit a form upon entering a page. The user filled all the fields for the form out on the previous page, and the information was sent to this page via "post."

raf
01-13-2004, 05:00 PM
I don't see the point in that if you can use PHP and append the variables to the querystring and then redirect to the page that the form posts to, but here it is
http://www.codingforums.com/showthread.php?s=&threadid=27799&highlight=automatically+submit+form
(one of many methods i suppose)

BroChris
01-13-2004, 06:23 PM
I see what you're saying. I didn't know you could do a meta redirect to a cgi script, but I'll try it.

Update: when I tried passing the variables through a querystring, I got an error from the cgi script that attempted to process the form on the following page. However, the onLoad method that you linked to worked just fine. Thanks!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum