•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 391,590 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,668 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 1927 | Replies: 2
![]() |
•
•
Join Date: Jun 2005
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
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"> <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>
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"> <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>
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?
•
•
Join Date: Jun 2005
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
•
•
•
•
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.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb HTML and CSS Marketplace
•
•
•
•
advertisment browser cell code css development div dreamweaver email encryption eu eudora firefox gmail google google checkout google checkout vat html html api imap javascript microsoft mobile mozilla news onecare open source opinion outlook penelope phishing phones professional research scam security spam spammers spamming stocks symantec tables technology thunderbird w3c web webmail wysiwyg xml
- Edit email form replies to not show blank answers (HTML and CSS)
- Is it possible to create an "Email a Friend" or and email form... (ASP)
- email form problem (Web Hosting Deals)
- Please help with email form script (PHP)
- Need help with this email form (Java)
Other Threads in the HTML and CSS Forum
- Previous Thread: Fixed BG image in IE
- Next Thread: How to get this "cool" effect?


Linear Mode