PDA

View Full Version : I need to submit a form to a text file



Sam
11-02-2004, 08:40 AM
Hi there,

I am doing a project for school in FrontPage 2000 and have included a Form page. When I preview in Browser I am faced with an error telling me that I need to be connected to a server....I obviously do not want to do that as this is only a project. Is there any way I can change the code to send the info (once the submit button is clicked) to a text file that I can view later??

Your help is much appreciated.
Many thanks
Sam ;)

simonf
11-16-2004, 08:26 AM
:) Hi

You would have to speak to your service provider to find the exact path. But this code would work so it arrives in your e-mail inbox :cool:

<FORM NAME=test METHOD=post ACTION=http://www.serviceprovider.com/pubscripts/formmail.asp>
<INPUT TYPE=hidden NAME=MailTo VALUE=info@youremail.com>
<INPUT TYPE=hidden NAME=Subject VALUE='Website Information Request'>
<INPUT TYPE=hidden NAME=ReturnURL VALUE=http://www.yourwebsite.com/thanks.htm>

As its a project, if you send me the page, I will host it for you and provide the link if you want e-mail me on simonf@smos.co.za rgds...