Problem with form action=../index

R

Robert

I have a page in a folder named signup. I want to use a submit button to
return to index.html

This code results in an incorrect address error when the button is clicked:

<form method="POST" action="../index.html">
<p align="center"><input type="submit" value="Return"></p></form>

However, if I use a hyperlink instead of the button, it works fine:

<p><a href="../index.html">Return</a></p>

Why does the form fail whereas the hyperlink works?

Many thanks, Robert
 
S

Steve Easton

Because the link breaks the Submit button.

Simply make index.html the custom confirmation page in Form Properties.


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 
R

Robert

Steve, would you please explain why the link breaks the submit button. Also,
I am not using bots in this case, only html code. How can I get around this
with using only code?

Thanks, Robert
 
S

Steve Easton

I'm confused.

If you're not using the web bot, what is the form supposed to post / submit to??


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 
Top