Activity.htm
<html>
<head>
<title LID="tit1">Activity 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_dd
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/Activity.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="frmActivity" action="../Scripts/postIt.asp" method="post" target="postIt" onSubmit="return update()" onReset="refresh()">
<input name="tableName" type="hidden" value="activity">
<input name="procName" type="hidden" value="lw_changeActivity">
<input name="actionBtn" type="hidden" value="CHANGE">
<input name="ID" type="hidden" DATASRC="#xmldso" DATAFLD="ActivityId">
<input name="ActivityId" type="hidden" DATASRC="#xmldso" DATAFLD="ActivityId">
<table WIDTH="100%" BORDER="0" CELLSPACING="1" CELLPADDING="1">
<tr>
<td class="Label" nowrap colspan="2"><label TITLE="Activity Information" LID="lbl1">Activity Information</label></td>
</tr>
<tr>
<td valign="top" width="50%">
<table border="0" cellPadding="1" cellSpacing="1" width="100%" DATAPAGESIZE="1" DATASRC="#xmldso">
<tbody>
<tr>
<td class="LabelSmall" nowrap><label CLASS="LabelBold" TITLE="Activity Name" LID="lbl2">Activity <u>N</u>ame:</label></td>
<td width="100%" valign="top"><input name="Description" style="WIDTH: 100%" TITLE="Maximum length 128 characters." tabIndex="1" DATAFLD="Description" maxlength="50" ACCESSKEY="N" onKeypress="setDirty()" LID="inp2" validator="isWord" required="true" L_NAME="Description"></td></tr>
<tr>
<td class="LabelSmall" nowrap><label TITLE="Comments" LID="lbl3">C<u>o</u>mments:</label></td>
<td><TEXTAREA accessKey=O cols=40 dataFld=Comment name=Comment onkeypress=setDirty() rows=4 style="WIDTH: 100%" tabIndex=2 title=Comments LID="txa3"></TEXTAREA></td></tr>
<tr>
<td class="LabelSmall" nowrap><label TITLE="Location" LID="lbl4"><u>L</u>ocation:</label></td>
<td><select name="LocationId" size="1" DATAFLD="LocationId" style="WIDTH: 100%" tabIndex="3" ACCESSKEY="l" onChange="setDirty()" LID="sel4"><option selected value ="" LID="opt4">(none)</option></select></td></tr>
<tr>
<td class="LabelSmall" nowrap><label TITLE="Activity Type" LID="lbl5">Activity <u>T</u>ype:</label></td>
<td><select name="ActivityTypeId" size="1" DATAFLD="ActivityTypeId" style="WIDTH: 100%" tabIndex="4" ACCESSKEY="t" onChange="setDirty()" LID="sel5"></select></td></tr>
<tr>
<td class="LabelSmall" nowrap><label TITLE="Group" LID="lbl6"><u>G</u>roup:</label></td>
<td><select name="GroupId" size="1" DATAFLD="GroupId" style="WIDTH: 100%" tabIndex="5" ACCESSKEY="g" onChange="setDirty()" LID="sel6"></select></td></tr>
<tr>
<td class="LabelSmall" nowrap><label TITLE="Grade Scale" LID="lbl7">Grade <u>S</u>cale:</label></td>
<td><select name="GradeScaleId" size="1" DATAFLD="GradeScaleId" style="WIDTH: 100%" tabIndex="6" ACCESSKEY="s" onChange="setDirty()" LID="sel7"><option selected value=""
>(none)</option></select></td></tr>
</tbody>
</table></td>
<td vAlign="top" width="50%">
<table border="0" cellPadding="1" cellSpacing="1" width="100%" DATAPAGESIZE="1" DATASRC="#xmldso">
<tbody>
<tr>
<td class="LabelSmall" nowrap><label class="LabelBold" TITLE="Weight" LID="lbl8"><u>W</u>eight:</label></td>
<td width="100%" vAlign="top"><input name="Weight" style="WIDTH: 100%" tabIndex="7" DATAFLD="Weight" ACCESSKEY="w" onKeypress="setDirty()" LID="inp8" validator="isTinyInt" required="true" L_NAME="Weight"></td></tr>
<tr>
<td class="LabelSmall" nowrap><label class="LabelBold" TITLE="Maximum Score" LID="lbl9">Ma<u>x</u>. Score:</label></td>
<td><input name="MaxScore" style="WIDTH: 100%" tabIndex="8" DATAFLD="MaxScore" ACCESSKEY="x" onKeypress="setDirty()" LID="inp9" validator="isSmallInt" required="true" L_NAME="MaxScore"></td></tr>
<tr>
<td class="LabelSmall" nowrap><label TITLE="Due Date" LID="lbl10"><u>D</u>ue Date:</label></td>
<td><input name="DueDate" style="WIDTH: 100%" tabIndex="9" DATAFLD="DueDate" ACCESSKEY="d" onKeypress="setDirty()" LID="inp10" validator="isDate" L_NAME="DueDate"></td></tr>
<tr>
<td class="LabelSmall" nowrap><label TITLE="Standard Deviation" LID="lbl11">Standard Deviation:</label></td>
<td><span class="Text" style="WIDTH: 100%" tabIndex="-1" DATAFLD="StandardDeviation"></span></td></tr>
<tr>
<td class="LabelSmall" nowrap><label TITLE="Average Score" LID="lbl12">Average Score:</label></td>
<td><span class="Text" style="WIDTH: 100%" tabIndex="-1" DATAFLD="Average"></span></td></tr>
</td></tr>
</table></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="10" style="WIDTH: 100%" LID="btn1">Change</button></td>
<td vAlign="top" width="33%">
<button type="reset" class="Button" tabIndex="11" style="WIDTH: 100%" DISABLED id="button1" name="button1" LID="btn2">New</button></td>
<td vAlign="top" width="33%">
<button class="Button" tabIndex="12" style="WIDTH: 100%" onClick="remove()" DISABLED id="button2" name="button2" LID="btn3">Delete</button></td></tr>
</table></td>
</tr></TBODY></TABLE>
</form>
<iframe NAME="postIt" ID="postIt" FRAMEBORDER="1" NORESIZE SCROLLING="none" style="DISPLAY: none"></iframe>
</body>
</html>