Any comments: e-mail me, feedback or show your appreciation

Forms in HTML

This section describes how to create forms within your HTML documents. The results from these forms are returned to you as an e-mail by a process called form-to-mail.

Its pretty easy explaining how to put forms on your pages; telling you how to get them to result in an e-mail is a little more difficult. First of all, many Internet service providers have special software (cgi-script) for performing the form-to-mail procedure. These will require a slightly different method to that described here, so check with your ISP first. The method described here uses the mailto: action to interpret the form. It is the simplest method, and produces only crude results (but they do the job!). It must be noted that mailto: only works with Netscape browsers and you should tell your readers such. The most effective use of forms is always through the use of cgi-script.

| getting started | dialog items | buttons | text entry | drop-downs | example | mailto |



Example Form




When the mailto action is used, as above, the results of the form are returned in a contiguous stream. This means the resulting e-mail from the above example form would look something like:

subject=Example+Form&age=under+18&name=Richard+Rutter
&email=rrutter@woodhill.co.uk&details=This+is+a+test
+and+only+a+test.&opinion=great
There is software available, such as that from Nisseb for the Mac and Informatik for the PC, which will parse the returned e-mails and present them in a more useable way. As stated above, it must be noted that mailto: only works with Netscape browsers and MS Internet Explorer 3 beta 2 or later; the most effective use of forms is always through the use of cgi-script. Any Internet Service Provider worth paying money to will have form-handling script available.



Spiced up with Sizzling Jalfrezi Sizzling HTML Jalfrezi
©1997 Richard Rutter Follow Colin to his Hoard
rrutter@woodhill.co.uk












Maintenance of this page is attempted by Richard Rutter (rrutter@woodhill.co.uk) using the gorgeous HTML Notepad and the wonderful Sizzling HTML Jalfrezi.