FORMS

 
 

          What you can do with a form:

            There are two basic parts of a form:  the structure or shell (fields, labels, and buttons that the visitor sees on a page and--hopefully--fills out), and the processing script that takes that information and converts it into a format that you can read or tally.

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

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

            Copy the following URL and paste it in the appropriate part of your document.
 

<form name="quiz" method="post" action="http://www.rice.edu/cgi-bin/yamform?login@cs.rice.edu">

Follow the examples given in the Chapter on Forms in your text.  Move your cursor box down 2/3 of the page 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. 

http://riceinfo.rice.edu/sw/yamform/

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.

yamformcode.html

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

yamformtest.html

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

http://riceinfo.rice.edu/sw/printform/


Click here to go Back to Monday's Schedule

This page was last edited on June 25, 2001

URL = http://teachertech.rice.edu/Materials/GT2001/East/day06/forms.html

 


These pages were developed through GirlTECH, a teacher-training program sponsored by the Center for Excellence in Education (CEEE) with support  from the National Science Foundation through EOT-PACI.
Copyright   Michael Sirois and Susan Boone, GirlTECH, June 2001.

last edited, ms  6-25-2001, 12:28.