...

View Full Version : 2 Forms overlaping each other...



StealthRT
05-23-2007, 02:45 AM
Is there anyway to have 2 forms overlap each other on a page but submit to different pages for each?

Example:


<form name="1" URL="me1.asp">
input type=""submit"" name=""Submit"" value=""send form 1"">
<form name="2" URL="me2.asp">
input type=""submit"" name=""Submit"" value=""send form 2"">
</form>
</form>

Right now, if i do that type of code it will only submit the form1 URL even if i click inside the Form2.

Any help would be great :)
David

felgall
05-23-2007, 03:11 AM
It is invalid to place a form inside another form. You can have multiple submit buttons in a form pass different values to the action script and have that script perform different actions based on the value of the submit button passed.

StealthRT
05-23-2007, 03:26 AM
felgall: Mind giving me an example of what your talking about?

David



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum