Results 1 to 2 of 2
Jul 17, 2006, 13:53 #1
Custom Failure/Error Page Problem
whats up sitepoint....i have put together a contact form on my new site, here is the link: http://jjbuckets.com/contact.html
i have mad a custom SUCCESS page and have no problems when a successful email is sent. I found some codes for a FAILURE page, and it is almost identicle to the SUCCESS page, here are both snippets:
<INPUT TYPE="hidden" NAME="success" VALUE="http://www.jjbuckets.com/success.html">
<INPUT TYPE=HIDDEN NAME="failure" VALUE="http://www.cnn.com">
I just put the cnn address in there for testing. I havent uploaded the FAILURE to my server, because it doesnt seem to work, i still get the default message. In the form, there are 4 required fields, so when someone doenst fill in one, and goes to send the email, I want them to go to a custom FAILURE page like i created for a successful email. I have tried using all caps in the failure code, etc. Anyone have any suggestions? I am using CGIEMAIL script that was on myserver. Again, everything works properly, i just can't get the failure to route to a custom page like my success page. Any help would be greatly appreciated.
Jul 17, 2006, 16:51 #2
- Join Date
- Sep 2005
- 2 Post(s)
- 0 Thread(s)
Surely there's something wrong with your backend script (CGIEMAIL). After all, it is this script that will decide whether there is success or failure and thus what page to show the user.