+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14

Thread: Rediecting the user

  1. #1
    Join Date
    Dec 2009
    Posts
    7

    Default Rediecting the user

    I want to use the redricting the user to a new thank you page.
    The code is:

    <input type="hidden" name="good_url"
    value="HTTP://www.mysite.com/thanks.htm

    Where do I put the code?

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

    Default Re: Rediecting the user

    u put the code in ur HTML

    after the <form> tag and before the </form> tag.

  3. #3
    Join Date
    Dec 2009
    Posts
    7

    Default Re: Rediecting the user

    I don't know if it matters, I am using Netobjects fusion 11. I could not put the code between <FORM> and </FORM>. So, I put the code under
    <!--[BEGAIN CUSTOM6]-->
    <FORM><input type="hidden"name="good_url"
    value="http://mysite.com/thanks.html"
    </FORM>
    <!-- [END CUSTOM6] -->
    </HTML>
    note: The Red text is already in the code

    When I upload the page (with the other files) and go to mysite, fill in the form and click the SUBMIT button, I get the HTTP 404 - file not found. I do get the email and it look good. But, I need to get rid of the 404 page and get the thanks page.

    John

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

    Default Re: Rediecting the user

    u do know that u replace "mysite.com" with ur domain?

  5. #5
    Join Date
    Dec 2009
    Posts
    7

    Default Re: Rediecting the user

    Yes I do. If you go to my site at http://www.victorvalleyhog.com/html/newform.html you can enter the info in the boxes, use the drop down boxes and click the submit button and see what you think. It will email the info. it just does not show the thanks page.
    John
    Last edited by HOG member; 08-Dec-2009 at 04:03 PM.

  6. #6
    Join Date
    May 2008
    Posts
    1,274

    Default Re: Rediecting the user

    Your form parameters "have to be inside" of your opening and closing form tags (the form with the info you're trying to capture).

    I haven't used Net Objects Fusion, but I would think you'd add hidden fields similarly to how you add text, select and other form fields, except you specify "hidden" where there's an option for "type".

    Right now you've specified good_url and bad_url in a separate form tag, which isn't going to work.

  7. #7
    Join Date
    Dec 2009
    Posts
    7

    Default Re: Rediecting the user

    ginger23,

    When I work the form all the info. I want goes to my email address, as it should. My problem is the next page shows an 404 error instead of my thank you page. It cant find FormHandler.php that is in /script/FormHandler.php. The file is in the script folder. I just don't know why it can't see it. If you go to http://www.victorvalleyhog.com/html/newform.html you can see what I mean.

    John

  8. #8
    Join Date
    May 2008
    Posts
    1,274

    Default Re: Rediecting the user

    Quote Originally Posted by HOG member View Post
    ginger23,

    When I work the form all the info. I want goes to my email address, as it should. My problem is the next page shows an 404 error instead of my thank you page. It cant find FormHandler.php that is in /script/FormHandler.php. The file is in the script folder. I just don't know why it can't see it. If you go to http://www.victorvalleyhog.com/html/newform.html you can see what I mean.

    John
    I'm not exactly sure what you're trying to do. Are you trying to use your own thank you page, or are you trying to use the script's default thank you page?

    If you're trying to use your own, then you need to specify "good_url" and "bad_url" as hidden fields "inside the opening and closing form tags".

    It cant find FormHandler.php that is in /script/FormHandler.php
    Actually it should be in "/scripts/Formhandler.php" (Note that scripts is plural.)

    Are you using an INI file to specify the "recipients" and other hidden fields?
    Last edited by ginger23; 08-Dec-2009 at 07:22 PM.

  9. #9
    Join Date
    Dec 2009
    Posts
    7

    Angry Re: Rediecting the user

    ginger23,

    I have tried to use the default thank you page and it did the same thing as using my own thank you page. I was hoping I could use mine because the default one didn't work. In netobjects you draw your form box on the page and put all your input boxes inside the form box. the program writes the code for you. Their are places to put code inside, but I realy don't know where to put it. I've been using Netobjects for about 4 years now, but this is the first time I have tried to do a form. If anyone out their using Netobjects Fuson, your help is needed.

    Actually it does read /scripts/FormHandler.php, with an s, but it acts as if it is not their. The file is where it is suppose to be. The thank you page is where is suppose to be also.

    Buy the way I did recieve the email when you did the form.

    John
    Last edited by HOG member; 08-Dec-2009 at 09:42 PM.

  10. #10
    Join Date
    May 2008
    Posts
    1,274

    Default Re: Rediecting the user

    I have tried to use the default thank you page.
    The default thank you page is actually just some words written to the page by the script confirming that the form has been submitted successfully. However, you've got something weird going on because when I submit the form I go to a page with this url:

    http://www.victorvalleyhog.com/scrip...l%20processing

    This doesn't sound like the name of your thank you page file that you tried to specify on the page, nor is it the url of the script. Where did you specify that url?

    Besides that, I see no "recipients" field in your form so I don't know how the script knows who to send the form results to.

+ 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. Sending a wish list to multiple recipients that the user specifies in the form
    By Blizzard in forum FormMail Subscription Support
    Replies: 10
    Last Post: 11-Sep-2005, 04:46 PM
  2. Error in output. new user.
    By Lesjo in forum FormMail Subscription Support
    Replies: 13
    Last Post: 08-Dec-2004, 09:38 PM
  3. Any update on html user output of selections?
    By jptechnical in forum FormMail Subscription Support
    Replies: 3
    Last Post: 31-Aug-2004, 05:20 AM
  4. Show form results to user
    By cottonslurpy in forum FormMail Subscription Support
    Replies: 1
    Last Post: 02-Aug-2004, 05:59 AM
  5. Redirecting the user
    By russellr in forum HOWTO Guides and Tips
    Replies: 0
    Last Post: 31-Jul-2004, 09:59 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