Dreamweaver :: Forms  

The Object Pallette has several different pallettes, Forms is one of them. It includes a complete collection of form elements and tags. (These elements are also accessible through the Insert menu.)

The complete list of form elements is:

  • Insert Form - creates begin and end form tags; set the form name, action and method in the Property Inspector
  • Insert Form Objects
    • Text Field
      Choose from single-line or multi-line text fields, set the maximum number of characters, and even give default text..
    • Button
      Make your button a reset or submit button. Change the text to whatever you wish.
    • Checkbox
    • Radio Button
      Give each radio button the same name but different values for "checked value" in order to make only one value selectable at a time.
    • List/Menu
    • File Field
    • Image Field
      Images can be used as your Submit button.
    • Hidden Field
      Use hidden fields in order pass values when the form is submitted.

The most common use of a form is to have the user email some information to the owner of the page or the department. At UIC this can most easily be done with FormMail.
For complete information on FormMail at UIC, see the FormMail Users' Guide.

The following are a few key points to creating a form for use with FormMail:

  • Set the form METHOD to POST and the form ACTION to http://www.uic.edu/htbin/formmail/FormMail/path_of_config_file where path_of_config_file is the UNIX path to the configuration file.
    Below is the Property Inspector for the above form.
  • Name the form and all the form elements to something meaningful. You will use these names in your FormMail configuration file.
  • For form items such as radio buttons (where only one can be selected), use the same name for each radio button but give each a different value for "checked value".
    Below is the Property Inspector for the first of the radio buttons above.
  • Write your configuration file as you create your form. Refer to the FormMail Users' Guide for more details on creating configuration files. Or, better still, use our Evaluation Form for a working example.

Home :: Overview :: Views and Tools :: Editing Basics
Images :: Tables :: Forms ::
Frames
Advanced :: Resources