+ Reply to Thread
Results 1 to 4 of 4

Thread: No return link for badhandler

  1. #1
    Join Date
    May 2004
    Posts
    5

    Question No return link for badhandler

    In your sample HTML error template for use with FormMail
    this is at the bottom:

    >If you use fmbadhandler.php from www.tectite.com,
    >it will insert the link to return
    >to the form at the end of the page body (here).

    I'm not seeing a return link on the error page when it displays after I submit an empty form.

    Here are the fields from my contact form:

    <input type="hidden" name="bad_url" value="http://mydomain/contact/fmbadhandler.php">
    <input type="hidden" name="bad_template" value="fmerror.html">
    <input type="hidden" name="this_form" value="http://mydomain/contact/index.html">

    ptr

  2. #2
    Join Date
    Dec 2003
    Posts
    3,901

    Default Re: No return link for badhandler

    You need to set $TARGET_URLS in fmbadhandler.php to the prefix of the URL you'll be specifying in the this_form field.

    Using your example, you'll want:
    PHP Code:
     $TARGET_URLS = array("http://mydomain/"); 
    This is a security feature to protect information on your server.
    Last edited by russellr; 26-May-2004 at 10:14 AM.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  3. #3
    Join Date
    May 2004
    Posts
    5

    Talking Re: No return link for badhandler

    Thanks Russell for pointing out that I hadn't uploaded my most recent version of my contact form with "this_form" hidden field correctly defined. Your support is first rate!!!

  4. #4
    Join Date
    Dec 2003
    Posts
    3,901

    Default Re: No return link for badhandler

    That's great!

    Please remember to link to us and tell your friends about our FormMail.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

     

Similar Threads

  1. fmbadhandler link back problem
    By frankherzog in forum FormMail Subscription Support
    Replies: 6
    Last Post: 25-Nov-2004, 11:58 AM
  2. Return All Variables To Form Page On Error
    By cornernote in forum FormMail Subscription Support
    Replies: 12
    Last Post: 31-Oct-2004, 10:20 PM
  3. Badhandler Problems
    By Jacob in forum FormMail Subscription Support
    Replies: 3
    Last Post: 17-Aug-2004, 09:11 PM
  4. Link to your own REDIRECT page?
    By cottonslurpy in forum FormMail Subscription Support
    Replies: 2
    Last Post: 17-Jun-2004, 09:36 PM
  5. Return All Variables To Bad_Form Page On Error
    By vladimir in forum FormMail Subscription Support
    Replies: 2
    Last Post: 07-Jun-2004, 06:13 PM

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