![]() |
Division of Information Technology
Web Publishing @ SFSU Forms |
| What Forms can Help you do | Forms allow WWW browsers to interact with servers. Forms can display empty text boxes, user selectable menus, buttons and more. Most forms include a Submit and Reset button. Forms can be used to:
|
| Form Components |
There are two parts to any functional form.
|
| Sample Code |
FORM tag
All form code (such as the sample code below) must be placed between the FORM tags. HTML Code <FORM METHOD=POST ACTION="URL of script to handle form">Drop Down Menu HTML Code
How it looks in the form CheckboxHTML Code
How it looks in the form Radio button
How it looks in the form Fill-in (2 examples)
How it looks in the form Textbox
How it looks in the form Submit and Reset buttonsThe submit button performs the action specified in the <form> tag. The reset button clears any information the user has entered. The text on the submit and reset buttons can be modified by changing their value name. <P> <input type="submit" value="Submit"> How it looks in the form This is the resulting code and form from the example above: HTML Code
Here is how the form will appear in a web browser
|
| 3 basic CGI's available at SFSU |
CGIEMAIL Form data submitted via the web with results sent to a specified E-mail address.
CGIFILE
PADFORM |
| For More Information |
An Instantaneous Introduction to HTML Forms Yahoo's Forms Resources |
Home
Search
Need Help?
1600 Holloway Avenue, San Francisco, CA 94132 (415) 338-1111
Last modified February 11, 2008 by the Web Team