S
Simon Wigzell
I just want my form target to be another page but open it in the same
window. Here is my code for the 2 pages :
-------------------------------form1.htm------------------------------------
<html>
<body>
This is form 1
<form ACTION="form2.htm" METHOD="POST" target="self">
<input type="submit" value="Submit">
</form>
</body>
</html>
-------------------------------form2.htm------------------------------------
<html>
<body>
This is form 2
<form ACTION="form1.htm" METHOD="POST" target="self">
<input type="submit" value="Submit">
</form>
</body>
</html>
----------------------------------------------------------------------------
--
You'd think the same window would just switch pages back and forth as you
clicked the submit buttons but it doesn't work. Not only does the new form
open in a seperate window but it then claims that it is an invalid address
and won't display the page.
http://www.mississippiprinting.com/MPCNew/form1.htm
http://www.mississippiprinting.com/MPCNew/form2.htm
This is a stripped down example. I actually have a series of forms, the
acatual forms that come up are determined by the choices the user makes
within the previous forms. It is all working fine if I open separate windows
for each form/page but I'd prefer if they just opened in the same window.
What simple thing have I missed here? Thanks!
window. Here is my code for the 2 pages :
-------------------------------form1.htm------------------------------------
<html>
<body>
This is form 1
<form ACTION="form2.htm" METHOD="POST" target="self">
<input type="submit" value="Submit">
</form>
</body>
</html>
-------------------------------form2.htm------------------------------------
<html>
<body>
This is form 2
<form ACTION="form1.htm" METHOD="POST" target="self">
<input type="submit" value="Submit">
</form>
</body>
</html>
----------------------------------------------------------------------------
--
You'd think the same window would just switch pages back and forth as you
clicked the submit buttons but it doesn't work. Not only does the new form
open in a seperate window but it then claims that it is an invalid address
and won't display the page.
http://www.mississippiprinting.com/MPCNew/form1.htm
http://www.mississippiprinting.com/MPCNew/form2.htm
This is a stripped down example. I actually have a series of forms, the
acatual forms that come up are determined by the choices the user makes
within the previous forms. It is all working fine if I open separate windows
for each form/page but I'd prefer if they just opened in the same window.
What simple thing have I missed here? Thanks!