944,209 Members | Top Members by Rank

Ad:
Jun 11th, 2005
0

Redirection of email form

Expand Post »
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>
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
stuarthunter is offline Offline
2 posts
since Jun 2005
Jun 14th, 2005
0

Re: Redirection of email form

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?
Reputation Points: 54
Solved Threads: 20
Master Poster
DaveSW is offline Offline
765 posts
since Jul 2004
Jun 14th, 2005
0

Re: Redirection of email form

Quote 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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
stuarthunter is offline Offline
2 posts
since Jun 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: Fixed BG image in IE
Next Thread in HTML and CSS Forum Timeline: How to get this "cool" effect?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC