Bren School Homepage UCSB Homepage UCSB Homepage UCSB Homepage
Services - CREATING FORMS

Forms can be easily set up to email one or more recipients. This is preferred over using a mailto link, because: 1) exact content can be specified; 2) fields can be required; 3) the user doesn't need a mail program configured and working; and 4) with a little bit of extra work we can drop the information directly into a database.

Here's a a very basic sample form, requiring the name field.

Name

In Dreamweaver, you would start with File -> New from Template and choose the best template. You can use the Objects window with Forms (vs. Common towards the top of the window). Place the cursor on the page and add a form. For the form, in the Properties window specify

Action: /services/process/form.asp

Then insert form objects like a textbox or checkbox from the Objects window. Be sure to accurately name the form elements. The forms work with the addition of the following hidden fields:

  Name Value
  _recipients full email addresses
  _subject page heading, title, and email subject line
  _requiredFields fields to be required
  _redirect Send mail to request@bren for additional help

All, but _recipients are optional. You only need to include the others if you wish to use this functionality.