|
This is a FORM tag that uses a post method to collect and store information from visitors of a web site.The action attribute identifies the URL of the form processing program. The name of this form is TROTWOOD and the validation function is called WATERBROOK().
<form method="post" action="http://www.ed2go.com/cgi-bin/formpost.cgi" name="trotwood" onsubmit="return waterbrook()">
|
David's eccentric Aunt Betsey nicknames David, Trotwood Copperfield, later referring to him as Trot.
|
|
While away at Salem House, David meets a boy named James.
What is James' last name?
|
This is a statement written in Java Script. It will tell the validation function to perform a test on a text box named STEERFORTH. STEERFORTH is a required field and must be filled out. If the text box is left blank, an alert box will appear and inform the visitor that there is an error and to try again.
if (document.trotwood.steerforth.value == "")
{
alert ("Error. Try again."); return false; }
|
|
|
This is a statement written in Java Script. It will tell the validation function to perform a test on a check box named WICKFIELD. WICKFIELD is a required field and must be filled out. If the check box is left blank, an alert box will appear and nicely inform the visitor that this box must be checked.
if (document.trotwood.wickfield.checked == false)
{
alert ("Check the box, please!"); return false; }
|
David Copperfield's character Uriah Heep becomes Mr. Wickfield's partner through blackmail. He then schemes to marry Agnes, Mr. Wickfield's daughter, and take control of the family fortune.
If you believe this to be true, check this box.
|