Results 1 to 3 of 3

Thread: good_url / bad_url -- Not Working

  1. #1
    Join Date
    Nov 2011
    Posts
    2

    Default good_url / bad_url -- Not Working

    Here is the code I inserted into the form:

    <input type="hidden" name="good_url" value="http://snappackmail.com/thanks.html" />
    <input type="hidden" name="bad_url" value="http://snappackmail.com/error.html" />

    Unfortunately it's just not working for me. It keeps re-directing to the generic default page. I'm at a complete loss.

    I downloaded the current version of formmail today in hopes that replacing the slightly older version would fix it. But nope, that didn't work either. I tried entering a value of just "thanks.html" and another value that displayed the entire URL (see above). Neither helped.

    Does anyone know the PHP re-direct code I need to look for on the "formmail.php" page to verify that it looks "right". Perhaps if someone could show me the correct code, then I could compare that with what I have on my end? I dunno what else to do...

    Thanks ahead of time for any feedback!

  2. #2
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: good_url / bad_url -- Not Working

    ur form is:
    http://snappackmail.com/contact.html

    right?

    u have a bunch of javascript on there - i suspected that

    i disabled the js but got the same result.

    weird.

    ran ur HTML thru validator.w3.org and there are lots of errors, including important ones like <head> and <body> problems.

    maybe that's the cause

    otherwise buy support from tectite and i'm sure youll get the problem solved (i think they guarantee too - like a refund if it's a bug in FormMail - which it won't be)

  3. #3
    Join Date
    Nov 2011
    Posts
    2

    Default Re: good_url / bad_url -- Not Working

    You, sir, are a life-saver.

    I went to that validation page and went line-by-line through any code it didn't like.

    The two lines I fixed (per the validation page's instruction) that made everything work was the good_url and bad_url lines.

    This is what they look like now (it said to remove the "/" at the end of the line & to remove the space in between "name" and "value" attributes"):

    <input type="hidden" name="good_url"value="http://snappackmail.com/thanks.html">
    <input type="hidden" name="bad_url"value="http://snappackmail.com/error.html">

    So thanks again! I was ready to cry myself to sleep.

    (I'm going to remember that validation page. Dreamweaver's code checker thought everything was hunky-dorie!)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. good_url/bad_url not working, gets ?PHPSESSID= appended to end
    By leefentress in forum Community Support
    Replies: 4
    Last Post: 04-Jun-2008, 02:22 PM
  2. Editing good_url and bad_url
    By shounen in forum HOWTO Guides and Tips
    Replies: 3
    Last Post: 15-Apr-2008, 10:16 AM
  3. bad_url and good_url
    By brianrob in forum Community Support
    Replies: 4
    Last Post: 11-Sep-2007, 10:08 PM
  4. bad_url and good_url
    By brianrob in forum HOWTO Guides and Tips
    Replies: 2
    Last Post: 27-Jun-2007, 08:43 PM
  5. good_url, bad_url issues
    By mcameron in forum Community Support
    Replies: 1
    Last Post: 04-Dec-2006, 09:08 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •