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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Code help 3
Make data enter into two fields at the same time...? 3
Report Grouping 2
Forms Problem 3
JS & fronpage form 1
HTM asp linking pages, 3
FP form will not save input 2
How can I change link destination 1

Top