RSS Forums RSS
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 2214 | Replies: 2
Reply
Join Date: Jun 2005
Posts: 2
Reputation: stuarthunter is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
stuarthunter stuarthunter is offline Offline
Newbie Poster

Redirection of email form

  #1  
Jun 11th, 2005
Having a little trouble getting this code to redirect after send has been clicked.

Just goes to a 404 error page, yet the email still sends, I want the user to know the email has been sent. Any help would be appreciated.
thanks.

CODE:


<td colspan="2" bgcolor="#FFFFFF"> <form enctype="multipart/form-data" method="post" action="/cgi-bin/mailer">
<table border="0" align="center" bgcolor="6883b0">
<tr>
<td><b><font color="#FFFFFF" size="-1">Your name:</font></b></td>
<td><input type="text" name="NAME" maxlength="35" size="37" value=""></td>
</tr>
<tr>
<td><b><font color="#FFFFFF" size="-1">Your email:</font></b></td>
<td><input type="text" name="FROM" maxlength="35" size="37" value=""></td>
</tr>
<tr>
<td><b><font color="#FFFFFF" size="-1">Your comments:</font></b></td>
<td><textarea name="COMMENTS" cols="29" rows="4"></textarea></td>
</tr>
<tr>
<td colspan="2"><input type="submit" value="Send"> &nbsp; <input type="reset" value="Erase"></td>
</tr>
</table>
<input type="hidden" name="TO" value="stuartrhunter@hotmail.com">
<input type="hidden" name="SUBJECT" value="**HEYBYRNE.CO.UK - EMAIL**">
<input type="hidden" name="GOTOURL" value="http://www.heybyrne.co.uk/contact_confirm.htm">
</form></td>
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2004
Location: Wales
Posts: 735
Reputation: DaveSW is on a distinguished road 
Rep Power: 6
Solved Threads: 17
DaveSW's Avatar
DaveSW DaveSW is offline Offline
Master Poster

Re: Redirection of email form

  #2  
Jun 14th, 2005
Does your form mailer tell you to use <input type="hidden" name="GOTOURL" value="http://www.heybyrne.co.uk/contact_confirm.htm"> ? Or did the instructions come from another mailer?
Reply With Quote  
Join Date: Jun 2005
Posts: 2
Reputation: stuarthunter is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
stuarthunter stuarthunter is offline Offline
Newbie Poster

Re: Redirection of email form

  #3  
Jun 14th, 2005
Originally Posted by DaveSW
Does your form mailer tell you to use <input type="hidden" name="GOTOURL" value="http://www.heybyrne.co.uk/contact_confirm.htm"> ? Or did the instructions come from another mailer?


The form mailer tells users to use <input type="hidden" name="GOTOURL" value="http://www.heybyrne.co.uk/contact_confirm.htm">

not other instructions were used.

Thought it would work first time but nope. If fields are left blank however the user is told about this, yet it wont redirect after send is activated.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 11:26 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC