|
|
 |
Course Outline
Offered by Networked Information Services
Instructor: (Contact: http://www.bu.edu/webcentral/help/)
Prerequisites: HTML: Introduction
or equivalent knowledge. An account on people.bu.edu,
or access to a site on www.bu.edu, is recommended.
2 hours (45 minutes lecture, 45 minutes hands-on exercises, 10-minute break)
- Forms are created using HTML tags.
- Common uses for forms include communication, contact forms, surveys, registration
forms, and order forms.
- PonyExpress, BU's form processor, can send form information to an e-mail
address, a web page, or a datafile on the server.
HTML form basics (15 minutes)
- The <form> tag: Method ("Post"
vs. "Get") and Action attributes
- Text fields: tags and attributes
- Checkbox and radio
menus: tags and attributes
- Selection menus: tags and attributes
- Submit and reset buttons: tags and attributes
Hands-on exercise: Creating a basic form (15
minutes)
- Add a <form> tag to a new web page.
- Add a text box and text area to your form, then modify their attributes.
- Add a checkbox and radio menu, then modify their attributes.
- Add a select menu to your form. Experiment with its attributes.
- Add a Submit and a Reset button.
PonyExpress: Special tags (10 minutes)
- Sending output mail to an e-mail address
- Indicating required fields
- Specifying the order of fields in the output
- Specifying a response page
Break: 10 minutes
Hands-on exercise: Making your form work with PonyExpress
(15 minutes)
- Connect to your practice site and download practice files.
- Modify your form to send mail to an e-mail address.
- Indicate which fields are required.
- Specify the order in which the information will appear in the output message.
- Specify the address of a response page visitors will see after submitting
the form.
- Upload and test your form online.
PonyExpress: Templates (10 minutes)
- Optional for any form
- Specifying the location of templates
- Modifying an e-mail template
- Overview of guestbook and datafile output
Hands-on exercise: Using PonyExpress e-mail templates
(15 minutes)
- Add special tags to your form to indicate the location of an e-mail template.
- Modify the e-mail template included in your practice files to customize
the format of the mail the form program will send.
- Upload your form and test it online.

Supplementary material: Guestbook templates and datafiles
(not covered during class)
To learn how to make templates for web output (guestbook) or
to add datafile output, see the PonyExpress
Templates page.
|