Multiple form actions possible? -

They have: 8 posts

Joined: Mar 1999

Is it possible to invoke more than one form action in a single html file? I need to access two CGI scripts at once when submitting a form.

Thanks for your help!
Flicki

They have: 5,633 posts

Joined: Jan 1970

hey flicki!
yes it does work! simply define two forms, like:
<form action="1.cgi" name="1" method="get">
<input type blah blah...>
</form>
<form action="2.cgi" name="2" method="get">
<input type blah blah...>
</form>

does work with post or get...
cu
patrick

They have: 5,633 posts

Joined: Jan 1970

I think you misunderstood Flicki.

In order to submit 2 forms @ once you have to utilize some JavaScript. That means it wont work in every browser.

Just search for "submitting two forms at once" in a search engine to get the right code.

------------------
Malte Ubl
Germany

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.