close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

I am Recieving emails! but redirect page goes to my root .index file

Thread began 12/29/2009 12:49 pm by agwebdesign396995 | Last modified 3/19/2010 6:56 pm by bhansen70403221 | 8612 views | 7 replies |

agwebdesign396995

I am Recieving emails! but redirect page goes to my root .index file

Hi
I have gotten to the point of recieving emails back from form when submitted. but when submit button is pushed I go back to the root .index.html page I am using godaddy .gdform.php
The godaddy gdform.php help shows a redirect field I could add it is

<input type="hidden" name="redirect" value="yoururl.html" />

Would I just have to add this to the contact form code? would it have to be in a specific spot?

Thanks alot im new at this form business

Sign in to reply to this post

Jimmy Wu

The contact form solution pack is set up to redirect to the thankyou.php page after submitting the form and sending the email. If you want it to forward to another page, find this line of code in the contactus.php page:
header("Location: thankyou.php");

and change the thankyou.php to another page.

Sign in to reply to this post

agwebdesign396995

Originally Said By: Jimmy Wu
  The contact form solution pack is set up to redirect to the thankyou.php page after submitting the form and sending the email. If you want it to forward to another page, find this line of code in the contactus.php page:
header("Location: thankyou.php");

and change the thankyou.php to another page.  



Thanks for the reply Jimmy

I have the code as in your reply I did not change it from the default but I think the problem is that I am using godaddy gdform.php and that is redirecting me to the root index.html page as I wrote in my first post they show you what code to use to redirect but im not sure what to do with it. Here is a link to the godaddy page 512#gdform you have to click on gdform.php to expand its contents.

Thanks

Sign in to reply to this post

Jimmy Wu

From the instructions it appears that you would insert the code into your form. So inside your form tags.

Do you have a link to the page where your form is located?

Sign in to reply to this post

aggets364461

Jimmy heres the link

Hi
heres the link example3/ I made the page as simple as possible just to see if i could get it to work click on contact us to go to the form page

Thanks

Sign in to reply to this post

agwebdesign396995

problem solved

I have it working thanks for the help

Sign in to reply to this post

Jimmy Wu

Glad to hear you were able to get it working. Was it as simple as inserting that line of code right under the form tag?

Sign in to reply to this post

bhansen70403221

The Fix

Since there was not a reply to how this was fixed i will provide the answer so others can view if needed.

All you need to have done is add the code after the <form> line of code.

<input type="hidden" name="redirect" value="yoururl.html" />

This is if your using godaddy as your hosting company and the gdform.php for sending form email.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...