HTML Form
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: HTML Form

  1. #1
    Senior Member
    Join Date
    Aug 2000
    Posts
    343

    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
    Losse

  2. #2
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    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
  •  




Click Here to Expand Forum to Full Width


HTML5 Development Center