Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

memco

macrumors 6502
Original poster
May 1, 2008
261
21
I have taken over someone else's site, and the code is a terrible mess. there's a form that half-works, but for some reason the "thank you" page is AWOL. The site is built on a combo of front page and dreamweaver, and is referencing a non-existent directory. I can't really make heads or tails of the submission process so I plan on rebuilding it. In the meantime, this is a live site that needs to function without an error page. Any ideas on how I can manage to send the form data, but not follow the whole process through to an error page?
 
I have taken over someone else's site, and the code is a terrible mess. there's a form that half-works, but for some reason the "thank you" page is AWOL. The site is built on a combo of front page and dreamweaver, and is referencing a non-existent directory. I can't really make heads or tails of the submission process so I plan on rebuilding it. In the meantime, this is a live site that needs to function without an error page. Any ideas on how I can manage to send the form data, but not follow the whole process through to an error page?

Make a new form submission script and point the form page action at this new script.
 
Make a new form submission script and point the form page action at this new script.

Pretty much. You either have to have to write something yourself, or learn the existing code well enough to intercept the problem and give a temp fix for now. If you're able to post some of that code we may be able to lend a hand. it sounds like it might make it most of the way through the script so it may be relatively easily to give a temp fix.
 
Maybe this will help

I use a cgi script provided by the host, but, after the code for the submit and reset buttons I have the following line to redirect to another page:

<input name="redirect" type="hidden" id="redirect" value="page.html" />
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.