BU 660 Notes on Second Project:

 

This project requires completion of the Assignment (“movie critic”) at the end of Project #4 (WEB/HTML Student Survey Form) in your textbook. The examples and exercises in Project #3 (WEB/HTML using Notepad) are intended as a learning exercise. If you are having trouble with Project #4, and wish to show me that you have mastered Project #3, I will consider it in evaluating your grade. However, the assignment is in Project #4.

 

In addition, please use the mailto form statement so that when “submit” is clicked on your form, it will mail the results of the form to you.

 

e.g. <form action="mailto:atoffler@caldwell.edu" method="post" enctype="text/plain">

 

 

When I used the form I presented in class, I received the following:

 

Name=Francis
EMail=Lewis
SchoolYear=SO
car=yes
Rate=excellent
comments=Enter Comments Here: Great Guy! Gave me an "A"

 

 

The following represents the program code for the form example:

 

<html>

<head>

<title>Professor Evaluation Form</title>

<body bgcolor=tan>

<form action="mailto:atoffler@caldwell.edu" method="post" enctype="text/plain">

<p align=center>

<font size=+2>Professor Evaluation Form</font>

</p>

Please enter your name and e-mail address below.

<table border=0>

<tr>

<td align=right><Name="Name:" size=30<</td>

<td><input type="text" name="Name" size=30></td>

</tr>

<tr>

<td align=right><Name="E-mail:" size=30<</td>

<td><input type="text" name="EMail" size=30></td>

</tr>

</table>

<br>

What is your year in school?<br>

<input type="radio" name="SchoolYear" value="FR" checked>Freshman<br>

<input type="radio" name="SchoolYear" value="SO" checked>Sophmore<br>

<input type="radio" name="SchoolYear" value="JR" checked>Junior<br>

<input type="radio" name="SchoolYear" value="SR" checked>Senior<br>

<br>

Please check each box as it applies to you.<br>

<input type="checkbox" name="on" value="yes">Live on campus?<br>

<input type="checkbox" name="car" value="yes">Do you own a car?<br>

<br>

What is your overall rating of the Professor?<br>

<select name="Rate">

<option value="noresponse">No Response</option>

<option value="excellent">Excellent</option>

<option value="average">Average</option>

<option value="poor">Poor</option>

</select>

<br><br>

Additional Comments? <br>

<textarea name="comments" rows=5 cols=45 wrap="yes">

Enter Comments Here:

</textarea>

<br><br>

<input type="submit" value="Submit Response"><br>

<input type="reset" value="Reset Form Values to their defaults">

</form>

</body>

</html>

 

 

 

 

Some Useful links for HTML codes (tags) and examples are:

 

 

http://www.w3schools.com/html/html_formatting.asp

 

http://www.web-source.net/html_codes_chart.htm

 

http://html-tags.info/

 

http://werbach.com/barebones/barebones.html

 

http://htmlhelp.com/reference/wilbur/list.html