|
The code to generate that form is shown below.
<FORM NAME="studentid" METHOD="post" >
<center>
Name: <br> <INPUT NAME="name" TYPE="TEXT" maxlength="50" size="30"/><p>
Degree Program:<INPUT NAME="degree1" TYPE="TEXT" maxlength="50" size="30"/><p>
Degree Program:
Degree Program:
<INPUT NAME="submit" TYPE="SUBMIT" value="send information" OnClick="check(); return false;" COLS=40>
</FORM>
</head>
.
.
.
<script>
function check()
{
if (document.forms[0].elements.degree1.value == "Information Systems")
}
</script>
.
.
.
</head>
<INPUT TYPE="radio" NAME="degree2" VALUE="IS">IS
<INPUT TYPE="radio" NAME="degree2" VALUE="Acct">Accounting
<INPUT TYPE="radio" NAME="degree2" VALUE="General">General
<INPUT TYPE="radio" NAME="degree2" VALUE="Other">Other<p>
<INPUT TYPE="checkbox" NAME="check1" VALUE="IS">IS
<INPUT TYPE="checkbox" NAME="check2" VALUE="Acct">Accounting
<INPUT TYPE="checkbox" NAME="check3" VALUE="General">General
<INPUT TYPE="checkbox" NAME="check4" VALUE="Other">Other
<INPUT NAME="reset" TYPE="RESET" value="try again" COLS=40>
Page Owner: Professor Sauter
(Vicki.Sauter@umsl.edu)
Vicki L. Sauter. All rights reserved.