- Allows users to enter information
- Passes information back to server
- Can be processed in a variety of ways
- <FORM METHOD="POST" ACTION="demo1.cgi"> </FORM>
- Sets up a form in an HTML document
- <INPUT>
- Defines an input field
- <SELECT> </SELECT>
- Selection from a list
- <TEXTAREA> </TEXTAREA>
- Start and end of text input area
This is the basic input field:
The HTML for this is:
Radio buttons let you select one item:
Tags for these buttons:
Student type (please choose one):
Freshman
Transfer
Readmit
Degree program (please choose one):
B.A.
B.S.
B.S.Ed.
Can create pull-down boxes to make selections:
Tags for this:
Choose a semester:
Area of interest (choose as many as you are interested in):
Can also be used for multiple selections:
The tags for these fields:
Please send the following:
Application
Financial Aid Form
Scholarship
How did you hear about us?
Friend
Teacher
Magazine
Buttons signal an action to take to process the form:
These use the input tag:
Select term to schedule:
Data from the form is sent to the server in this format:
name=John+Doe&addr1=123+Main+Street&city=Shippensburg
&state=PA&zip=17257&ssn=123456789&status=Trans
&dgree=BS&sem=F97&send=App&send=Aid&teach=on
&pgms=Finance&pgms=History
&comments=Send+work+study+form.%0D%0AThank+you
May then be processed by programs on the server.
Go to Top of Page
Back to Contents Page
On to Next Section
Setting Up a Web Site
1998 MSACROA Conference
Monday, November 30, 1998