The method is documented at http://www.freeserve.net/support/cserve_web.htm, but the form there is poorly laid out and has confused many a newcomer to HTML.
Note that Freeserve does not support Microsoft FrontPage extensions ("Web-bots") and that to create a mailform in Microsoft Frontpage or Frontpage Express you will have to use the standard Freeserve mailform illustrated on this page.
I'm a great believer in handcoding HTML and if you haven't already done so then I suggest you download NoteTab Light from http://www.notetab.com/ or Arachnophilia.
EZPad is another freeware HTML editor that I've come across recently. It reminds me of earlier versions of Homesite, and looks to be very useful for creating forms. You can if you wish simply use Notepad.
Wherever yourname appears in the following text you must replace it with your Freeserve username when you are creating your own forms
<FORM>and a closing tag
</FORM>and all the form elements must appear between these tags.
The basic tags Freeserve form tags are:
<FORM METHOD="POST" ACTION="/cgi-bin/mailform.cgi"> </FORM>
Note that you do not need to create the directory /cgi-bin/ or move the mailform.cgi script to this directory.
<INPUT TYPE="hidden" NAME="mailuser" value="webform">
Note: DO NOT change the the value of NAME to anything else, leave it as mailuser.
The raw form now looks like this:
<FORM METHOD="POST" ACTION="/cgi-bin/mailform.cgi"> <INPUT TYPE="hidden" NAME="mailuser" value="webform"> </FORM>
<INPUT TYPE="hidden" NAME="targetpage" value="http://www.yourpage.freeserve.co.uk/thanks.html">
Note: You cannot simply use thanks.html because the server looks for /cgi-bin/thanks.html [which doesn't exist].
Note: DO NOT change the the value of NAME to anything else, leave it as targetpage.
<INPUT TYPE="hidden" NAME="textoutput" VALUE="yes">
<INPUT TYPE="submit" VALUE="Submit">and a reset button [to allow the visitor to clear all the entries and start again.]
<INPUT TYPE="reset" VALUE="Reset">The raw form now looks this:
<FORM METHOD="POST" ACTION="/cgi-bin/mailform.cgi"> <INPUT TYPE="hidden" NAME="mailuser" value="webform"> <INPUT TYPE="hidden" NAME="targetpage" value="http://www.yourpage.freeserve.co.uk/thanks.html"> <INPUT TYPE="hidden" NAME="textoutput" VALUE="yes"> <INPUT TYPE="submit" VALUE="Submit"> <INPUT TYPE="reset" VALUE="Reset"> </FORM>
There are 6 basic elements in form [in a addition to the Submit and Reset buttons mentioned above].
The completed form (slightly) modified looks like this
The email that you receive has your address in the From: field and there is no way of automatically replying to the sender.
Back to The Absolute Beginner's Guide...