Newbie needs help with forms
Hi, I am very new and really trying hard to get this to work. I used MS Office 2000 Publisher to originally design a site. The last page (the contact us page) has a form for customers to fill out. The submit button (I thought) was set to send an email to our sales person...First, I don't think it is sending the information in an email to our sales guy, secondly, after "submit" is clicked, the person is redirected to "HTTP404" page...whatever that is. explorer.
#1...How do I get the viewer to be redirected back to the index.html page?
#2...How do I get the information on the form sent to the sales guy?
Please, any help asap is appreciated.
Have a nice evening!
You require a formmail script on the server. Your provider will usually have one available for you.
At least 98% of internet users' DNA is identical to that of chimpanzees
Here is a basic contact form. fill in the path to formmail script (your provider will have this information) and the recipient email address and you should be good to go. The redirect input will redirect them to whatever page you specify once they click submit in your case index.html. The reason you get a HTTP 404 error (page not found) is more than likely you have not specified a redirect page.
<FORM name="contact" method="post" action="http://www.yourdomain.com/cgi-sys/formmailscript">
<INPUT type="hidden" name="recipient" value="email@example.com">
<INPUT type=hidden name="redirect" value="http://www.yourdomain.com/index.html">
<INPUT type="text" name="name" size="30">
<INPUT type="text" name="email" size="30">
<INPUT type="text" name="phone" size="30">
<FONT size="1">(optional) </FONT></P>
<TEXTAREA rows="2" name="comment" cols="30"></TEXTAREA>
<INPUT type="submit" value="Submit" name="B1">
<INPUT type="reset" value="Reset" name="B2">
Last edited by rosembolin; 01-05-2006 at 03:06 AM.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)