RACC WEB 115 Class #14 Lecture
Begin 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
(if time) Behaviors (JavaScript)
- events such as onClick & onMouseOver
- actions
- validating a form field by field or when the user clicks the Submit button
Midterm Exam
Homework Assignment: