RACC WEB 115 Class #15 Lecture
Class held at Wyomissing on Thursday Mar 7 from 7-9 pm.
Ch. 7 Lecture
Forms
- Method for processing a form
- GET
- POST - we will use this method
- Action
- server script such as the one you'll see in the source at www.mohlerinsurance.com
- find a free formmail.pl perl script and install in your cgi-bin folder
- use a free formmail service such as http://formmail.to/
- mailto: which sends the form results to your email address (use ...ENCTYPE="text/plain"... in your form tag - see pp. 275 & 276 to "clean up" the form submission)
- Form objects
- text field or multi-line textarea)
- button (Submit, Reset, or Command)
- checkbox
- radio button
- list/menu (or Dreamweaver's jump menu)
- hidden field - use a hidden field to store a value that you want to pass to the server
Behaviors (JavaScript)
- events such as onClick & onMouseOver
- actions
- validating a form field by field or when the user clicks the Submit button
Homework Assignment: