-
HTML Form
Hi there
I am building an online form it's a method=post type of form.. your basic html form I just want to know how to redirect them to a certain page (let's say thanks.html) once they hit the submit button... Here is my code so far:
<form action="/cgi-bin/FormMail.pl method="post" enctype="text/plain">
<h3><font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif">Name:<br>
<input type="text" name="name"
value="yourname" size="20">
<br>
Mail:<br>
<input type="text" name="mail"
value="yourmail" size="20">
<br>
Comment:<br>
<input type="text" name="comment"
value="yourcomment" size="40">
<br>
<br>
<input type="submit" value="Send">
<input type="reset" value="Reset">
</font></h3>
</form>
Thanks guys
-
Senior Member
Hi,
I think you could get the perl script to redirect them to another page by using something like this at the end of the script,
print "Location: http://www.yoursite.com/thanks.html\n\n";
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|