- Allows users to enter information
- Passes information back to server
- Can be processed in a variety of ways
Form Tags
- <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
Input Fields
This is the basic input field:
Radio Buttons
Radio buttons let you select one item:
The Select Tag
Can create pull-down boxes to make selections:
Checkbox Input
Can also be used for multiple selections:
Buttons
Buttons signal an action to take to process the form:
- Selecting information to view
- Advanced data selection
- Submission of information (forms)
- Communication (inquiries, mail)
- GET vs. POST
- Mailing forming data:
- Processing form data
Mailing option:
<FORM METHOD="POST" ACTION="mailto:pfdemp@ship.edu"> </FORM>
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
Go to Top of Page
Back to Contents Page
Web Development Workshop
1999 MSACROA Conference
Sunday, November 28, 1999