hi guys I have made a application form for my site, I need to link this page with a thanks giving page, that is as soon as the applicant clicks the submit button I need the visitors to redirected to the thanks giving page. here is the code for the application I need some help with this one. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title></title> <meta http-equiv="content-type" content="text/html;charset=UTF-8"/> </head> <body><!-- STEP 1: Put the full URL to formmail.php on your website in the 'action' value. --> <form method="post" action="http://www.forumfuture.com/application.php" name="AppForm" enctype="multipart/form-data"><A title="Thank you" href="Untitled2.html"></A> <input type="hidden" name="env_report" value="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT,AUTH_TYPE,REMOTE_USER"> <!-- STEP 2: Put your email address in the 'recipients' value. Note that you also have to allow this email address in the $TARGET_EMAIL setting within formmail.php! --> <input type="hidden" name="recipients" value="lost--in--transition@hotmail.com"> <input type="hidden" name="recipients" value="chakruuu@hotmail.com"> <!-- STEP 3: Specify required fields in the 'required' value --> <input type="hidden" name="required" value="FirstName,LastName,Age,e-mail,Msn Address,Interests,past writing experience,sample piece of writing,area of expertise,Terms_Conditions"> <!-- STEP 4: Put your subject line in the 'subject' value. --> <input type="hidden" name="subject" value="Application for staffs"> <input type="hidden" name="good_url" value="http://www.forumfuture.com/thanks.html"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="middle" valign="top"><table width="754" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="left" valign="top"><table width="754" border="0" cellpadding="0" cellspacing="0" class="header_table"> <TBODY> <tr> <td align="left" valign="top"><IMG height=5 alt="" src="images/header_top.gif" width=754></td> </tr> <tr> <td height="27" align="middle" valign="center"> <A href="/F:/application/index.php"><img height="120" src="http://www.imgplus.info/images/goh8ajjso3yluejmhmj.jpg" width="910" border="0"></A></td> </tr> <tr> <td style="FONT-WEIGHT: bold; WHITE-SPACE: pre" align="right" valign="center" class="top_menu_bg"><A class=menu_link href="services.php">Services</A> | <A class=menu_link href="benefits.html">Benefits</A> | <a href="http://www.forumfuture.com/forum" class="menu_link">Forums</a> | <A class=menu_link href="Join The Team.html">Join The Team</A> | <A class=menu_link href="SitePolicy.html">Site Policy</A> | <A class=menu_link href="Contact.php">Contact Info</A></td> </tr> </tr> </table></td> </tr> <tr> <td align="left" valign="top"><table width="754" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="left" valign="top" class="body_box"><table width="736" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="left" valign="top"><table width="736" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="509" align="left" valign="top"> <table width="736" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="19" align="left" valign="top"></td> <td align="left" valign="top" class="box_top_bg" width="711"> </td> <td width="19" align="left" valign="top"></td> </tr> <tr> <td align="left" valign="top" class="left_line"> </td> <td style="TEXT-ALIGN: justify" align="left" valign="top" width="711" bordercolor="blue"> Forum Future Application Form<p>Firstly thanks for considering joining our expanding team of experienced posters and writers, we really appreciate it. We believe we pay a good price per post and for that we expect to get relevant, well constructed posts and threads with good grammar and excellent spelling.<br> <br> Please complete all fields.</p> <form method="POST" name="Application" action="_derived/nortbots.htm" webbot-action="--WEBBOT-SELF--" onsubmit="location.href='_derived/nortbots.htm';return false;" webbot-onsubmit="" > <table border="0" width="100%" id="table1"> <tr> <td width="242">First Name:</td> <td> <input name="FirstName" size="30"></td> </tr> <tr> <td width="242">Last Name:</td> <td> <input name="LastName" size="30"></td> </tr> <tr> <td width="242">Location: (Town + Country)</td> <td> <input name="Location" size="40"></td> </tr> <tr> <td width="242">Age:</td> <td><select size="1" name="Age"> <option selected>18-21</option> <option>22-25</option> <option>26-30</option> <option>31-40</option> <option>41-50</option> <option>51-60</option> <option>61-70</option> <option>71-80</option> <option>81+ (good on you)</option> </select></td> </tr> <tr> <td width="242">e-mail Address:</td> <td> <input name="e-mail" size="30"></td> </tr> <tr> <td width="242">Msn Address:</td> <td> <input name="Email" size="30"></td> </tr> <tr> <td width="242">Interests:</td> <td><TEXTAREA name=Interests rows=5 cols=40></TEXTAREA></td> <tr> <td width="242">past writing experience</td> <td> <input name="past writing experience" size="30"></td> </tr> <tr> <td width="242">sample piece of writing</td> <td><TEXTAREA name="Sample piece of writing" rows=5 cols=40></TEXTAREA></td> </tr> <tr> <td width="242">Areas of expertise</td> <td><TEXTAREA name=Comments rows=3 cols=30></TEXTAREA></td> </tr> <tr> <td colspan="2">I understand that if I have given any false information in applying or if my application is successful and I perform with substandard or incomplete work my services will be terminated immediately with non-payment<br> <br> <input type="checkbox" name="Terms_Conditions" value="ON"> I understand and agree to the terms above.</td> </tr> </table> <p><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p> </form> <p><br> <br></p></td> <td align="left" valign="top" class="right_line"> </td> </tr> <tr> <td align="left" valign="top"><IMG height=8 alt="" src="images/box_bottom_left.gif" width=19></td> <td align="left" valign="top" class="bottom_line" width="711"><IMG height=1 alt="" src="images/spacer.gif" width=1></td> <td align="left" valign="top"><IMG height=8 alt="" src="images/box_bottom_right.gif" width=19></td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td align="left" valign="top"><table width="754" border="0" cellpadding="0" cellspacing="0" class="footer_table"> <tr> <td align="left" valign="bottom" class="footer_bg"> <p align="center" class="style2"> Copyright 2008 forumfuture.com. All Rights Reserved.</p></td> <td width="136" align="left" valign="top"> </td> </tr> </table></td> </tr> </table></TD></TR></TBODY></TABLE> </body> </html>
You'll need to set your Form to point to a file/script that will process the form, mail it and re-direct the user to the appropriate page. I'm not sure on your configuration so I'll let you Google it. They can be found by searching for Form Mail Script or similar. Good luck!
Building on what Steelfrog said, you'll need to use a conact form script then add this code: So it'll send you all the details to your email (or upload to database, depends on what script you use) and then redirect them to your thank you page.