What you can do with a form:

  • get feedback
  • have a guestbook
  • take a survey
  • see who's visiting you
  • sell stuff
  • and much more!

       There are two basic parts of a form:  the structure or shell and the processing script.    The structure is the document that you put on your web page, which consists of fields, labels, and buttons that the visitor sees on a page (and hopefully fills out).   The processing script is stored in a special folder on the web server that takes information from the form and converts it into a format that you can read or tally.

Constructing forms is discussed on pages 182-196 of HTML 4 For the World Wide Web.

Processing the data from a form is a bit more complicated.  The principal tool, the CGI scipt, is typically written in Perl or some other programming language.  You can use the script located on the Rice Server.

Follow the examples given in the Chapter on Forms in your book if you want to modify a form to look a certain way.  Move your cursor box down 2/3 of the webpage until you get to the chapter on Forms.

Rice University has a special program you can use to create forms for your website.   It's called "yamform".  Yamform, which stands for "Yet Another Mail Form", is a forms-handling program for use with World Wide Web forms.   Further information on using "yamform" can be found at this link.

Click here to go to a sample page of "yamform" code, ready to copy-and-paste.   Change the e-mail address to yours, and it will mail the results to you.


....or, click here to try out a yamform, based on the sample page, that will e-mail the results to mikey.


Extra Bonus:  At Rice, there is also a special companion to the "yamform", called "printform".  It allows you to create a form which accepts input, then returns a form to the user's browser in HTML format, ready for printing.  You would only want to use this where you have a situation that requires the submission of a printed form.  You can find more details at

Click here to go Back to Tuesday's Table of Contents.

This page was last edited on June 26, 2000.


These pages were developed through GirlTECH, a teacher-training program sponsored by the Center for Excellence in Education (CEEE) and made possible by support from the National Science Foundation through EOT-PACI.
Copyright   Michael Sirois, GirlTECH, June 2000, adapted from a webpage created by Susan Boone, July, 1999.


last edited, ms 6-27-2k, 00:19.