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="sxxxxxx@umslvma.umsl.edu"
- 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
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 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
- INPUT NAME="name" TYPE="TEXT" ROWS=1 COLS=70
SIZE="60"
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.
To create the "submit" button and "clear" button, use the commands:
- INPUT NAME="submit" TYPE="SUBMIT" COLS=70
INPUT NAME="reset" TYPE="RESET" COLS=60
Do not forget the pointed brackets around the commands.
If you look at the source code, you will find a simple form below.