u put the code in ur HTML
after the <form> tag and before the </form> tag.
Welcome to the Tectite Forums! You can download and get support for our free PHP FormMail (form processor) and other free software.
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?
u put the code in ur HTML
after the <form> tag and before the </form> tag.
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
u do know that u replace "mysite.com" with ur domain?
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.
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.
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".
Actually it should be in "/scripts/Formhandler.php" (Note that scripts is plural.)It cant find FormHandler.php that is in /script/FormHandler.php
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.
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.
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:I have tried to use the default thank you page.
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.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks