courses   |   sign up   |   materials   |   instructor   |   jobs   |   email   

text link
read/watch link
homework link
grades link
examples link
resources link
faq link
syllabus link
  
    home link

LESSON 4: FORM PROCESSING

Objectives
    o form processing concepts
    o mailto: command
    o CGI processing
    o customize a CGI script
    o form processing tips

Overview

In this lesson, we concentrate on the action attribute within the form tag. Two common values for this attribute are:

  1. The mailto command

    <FORM METHOD="post" ACTION="mailto:lhemenway@santarosa.edu" enctype="text/plain">

  2. A CGI script

    <FORM METHOD="post" ACTION=
    "http://www.santarosa.edu/cgi-bin/misc/formmail.pl">
The mailto command is easy on the Web developer but confusing for the visitor.

The CGI script is more difficult for the Web designer; however, it provides functionality that makes it easier for the customer to fill out the form. Both techniques will be demonstrated.

When using the CGI script you must remember these factors.

  1. Always place the form on the server "student", you cannot test the form from your local machine or from another server.

  2. The value of the hidden tag which identifies the recipient must follow this pattern username@student.santarosa.edu

  3. When checking your student email to verify that the form is working visit this Web site
    https://student.santarosa.edu/squirrelmail/src/login.php



















 
lessons|| reading|| homework|| grades|| examples|| resources|| faq|| syllabus

instructor contact information
c. sumner - chaela@webgoddessdesign.com
c. massell - cmassell@santarosa.edu

copyright 2005 linda hemenway