ActivityType.htm
<html>
<head>
<title LID="tit4">Activity Type Form</title>
<meta name="generator" content="Microsoft Visual Studio 6.0">
<meta http-equiv="content-type" />
<link href="../forms.css" rel="stylesheet" type="text/css">
</head>
<body scroll="auto" rightmargin="20" leftmargin="20" onBeforeUnload="return checkDirty()">
<OBJECT classid=clsid:550dda30-0541-11d2-9ca9-0060b0ec3d39 height=0 id=xmldso
width=0 VIEWASTEXT></OBJECT>
<OBJECT classid=clsid:550dda30-0541-11d2-9ca9-0060b0ec3d39 height=0 id=xmldso_gs
width=0 VIEWASTEXT></OBJECT>
<script LANGUAGE="JavaScript" SRC="../Scripts/GetParam.js"></script>
<script LANGUAGE="JavaScript" SRC="../Scripts/IsValid.js"></script>
<script LANGUAGE="JavaScript" SRC="../Scripts/IsDirty.js"></script>
<script LANGUAGE="JavaScript" SRC="../Scripts/ActivityType.js"></script>
<script LANGUAGE="JavaScript" LID="scr1">
var L_ConfirmDelete = 'Are you sure you wish to delete this record from the database?';
var L_MaxSizeExceeded = "A group's maximum size may not exceed occupancy of the location.";
var L_PageIsDirty = 'Some fields have been updated. Click Change to save your changes to the database.';
var L_Empty = "Entry is required for: ";
var L_Invalid ='Entry is not valid for: ';
</script>
<div style="BACKGROUND-COLOR: black; FONT-SIZE: x-small; MARGIN-LEFT: -20px">.</div>
<form name="frmActivityType" action="../Scripts/postIt.asp" method="post" target="postIt" onSubmit="return update()" onReset="refresh()">
<input name="tableName" type="hidden" value="activityType">
<input name="procName" type="hidden" value="lw_changeActivityType">
<input name="actionBtn" type="hidden" value="CHANGE">
<input name="ID" type="hidden" DATASRC="#xmldso" DATAFLD="ActivityTypeId">
<input name="ActivityTypeId" type="hidden" DATASRC="#xmldso" DATAFLD="ActivityTypeId">
<table WIDTH="100%" BORDER="0" CELLSPACING="1" CELLPADDING="1" DATASRC="#xmldso" DATAPAGESIZE="1">
<tr>
<td colspan="2" class="Label" nowrap width="75%"><label LID="lbl19">Activity Type Information</label></td>
</tr>
<tr>
<td class="LabelSmall" nowrap><label class="LabelBold" LID="lbl20">Activity Type <u>N</u>ame:</label></td>
<td><input name="Name" style="WIDTH: 100%" TITLE="Maximum length 50 characters." tabIndex="1" accessKey="n" DATAFLD="Name" maxlength="50" onKeypress="setDirty()" LID="inp20" required="true" validator="isWord" L_NAME="Name"></td></tr>
<tr>
<td class="LabelSmall" nowrap><label LID="lbl21"><u>D</u>escription:</label></td>
<td width="100%" valign="top"><TEXTAREA accessKey=d cols=40 dataFld=Description name=Description onkeypress=setDirty() rows=4 style="WIDTH: 100%" tabIndex=2 title="Maximum length 128 characters." LID="txa21" maxlength="128"></TEXTAREA></td></tr>
<tr>
<td class="LabelSmall" nowrap><label class="LabelBold" LID="lbl22"><u>W</u>eight:</label></td>
<td><input name="Weight" style="WIDTH: 100%" DATAFLD="Weight" tabIndex="3" accessKey="w" onKeypress="setDirty()" LID="inp22" required="true" validator="isTinyInt" L_NAME="Weight"></td></tr>
<tr>
<td class="LabelSmall" nowrap><label class="LabelBold" LID="lbl23">Drop <u>L</u>owest:</label></td>
<td><input name="DropLowest" style="WIDTH: 100%" DATAFLD="DropLowest" tabIndex="4" accessKey="l" onKeypress="setDirty()" LID="inp23" required="true" validator="isTinyInt" L_NAME="DropLowest"></td></tr>
<tr>
<td class="LabelSmall" nowrap><label class="LabelBold" LID="lbl24">Penalty <u>T</u>ype:</label></td>
<td><select name="LateType" size="1" DATAFLD="LateType" style="WIDTH: 100%" tabIndex="5" accessKey="t" onChange="setDirty()" LID="sel24">
<option value="0" selected LID="opt24">No penalty for late scores</option>
<option value="1" LID="opt25">Percentage of raw score</option>
<option value="2" LID="opt26">Points off raw score</option>
<option value="3" LID="opt27">Points lost per day late</option>
</select></td></tr>
<tr>
<td class="LabelSmall" nowrap><label class="LabelBold" LID="lbl30">Penalty <u>V</u>alue:</label></td>
<td><input name="LateValue" style="WIDTH: 100%" DATAFLD="LateValue" tabIndex="6" accessKey="v" onKeypress="setDirty()" LID="inp30" required="true" validator="isTinyInt" L_NAME="LateValue"></td></tr>
<tr>
<td class="LabelSmall" nowrap><label class="LabelBold" LID="lbl7">Grade <u>S</u>cale:</label></td>
<td><select name="GradeScaleId" size="1" DATAFLD="GradeScaleId" style="WIDTH: 100%" tabIndex="7" accessKey="s" onChange="setDirty()" LID="sel7"></select></td></tr>
<tr><td colspan="2"> </td></tr>
<tr><td></td><td>
<table border="0" cellPadding="0" cellSpacing="2" width="100%">
<tr>
<td vAlign="top" width="33%">
<button id="cmdSubmit" type="submit" class="Button" tabIndex="8" style="WIDTH: 100%" LID="btn1">Change</button></td>
<td vAlign="top" width="33%">
<button type="reset" class="Button" tabIndex="9" style="WIDTH: 100%" DISABLED id="button1" name="button1" LID="btn2">New</button></td>
<td vAlign="top" width="33%">
<button class="Button" tabIndex="11" style="WIDTH: 100%" onClick="remove()" DISABLED id="button2" name="button2" LID="btn3">Delete</button></td></tr>
</table></td></tr>
</table>
</form>
<iframe NAME="postIt" ID="postIt" FRAMEBORDER="1" NORESIZE SCROLLING="none" style="DISPLAY: none"></iframe>
</body>
</html>