Management Information Systems Area
This is the second page of examples. The first page provided a standard home page format. This document was created to help you develop tables and forms.
A Table Caption
This is a Table
Tables begin with TABLE and the column specifications
You can specify the height and width of the columns using the HEIGHT=## and WIDTH=## commands.
You can also specify the width of the border with the BORDER=## command.
If you want a caption, use the caption command.
You may specify its location with the ALIGN= command.
Blank rows and columns appear as heavier borders (see below).
So, you can use empty rows and columns to get the effect you want.
Each row of the table contents begin with the command TR.
Each entry in the table begins with TD.
Remember always put commands in brackets.
You may use different styles in different cells.
Or link to documents or incorporate graphics.
You can also create a template for the form so that the output is returned to you in a nicer form. To obtain that code, see Karl's pages.
To use Forms and the UM-St. Louis Formserver, you need some "hidden" commands in your html. These commands (of course you would put them in pointed brackets in your html) are:
- FORM METHOD="POST" ACTION="http://www.umsl.edu:81/url-cgi/formserver"
- use this command exactly as it is shown
- INPUT NAME="email" TYPE="hidden" VALUE="firstname.lastname@example.org"
- substitute YOUR email address in the quotes after VALUE; if your email is not on umslvma.umsl.edu remember to change the node as well
- INPUT NAME="URLreturn" TYPE="hidden" value="http://www.umsl.edu/~sxxxxxx/response.html"
- substitute the name of the screen you would like people to see when the form has been submitted; remember you must create this screen as an html -- if you use "response.html" in the code, then the created screen must be saved in your account by that name
- INPUT NAME="Return_type" TYPE="hidden" VALUE="lines"
- use this line exactly as it is shown
To create the form, you can use Hot Dog or use the native html code. For example, to create a space in which one might enter a name, you specify the label that you want the user to see followed by
The "name" is whatever name you want to give to the field, the "type" specifies how you want data entered, and the remainder of the fields control the size of the box in which the user can type. Do not forget the pointed brackets around the commands.
- INPUT NAME="name" TYPE="TEXT" ROWS=1 COLS=70 SIZE="60"
To create the "submit" button and "clear" button, use the commands:
Do not forget the pointed brackets around the commands.
- INPUT NAME="submit" TYPE="SUBMIT" COLS=70
- INPUT NAME="reset" TYPE="RESET" COLS=60
If you look at the source code, you will find a simple form below.