BDG Scenario 3

Activity.htm (en_us)

<HTML>
   <HEAD>
      <TITLE LID="tit1">Activity Form</TITLE>
      <META content="Microsoft Visual Studio 6.0" name="generator"/>
      <META http-equiv="content-type" content="text/htm; charset=ISO-8859-1"/>
      <LINK href="../forms.css" rel="stylesheet" type="text/css"/>
   </HEAD>
   <BODY leftMargin="20" rightMargin="20" scroll="auto">
      <OBJECT classid="clsid:550dda30-0541-11d2-9ca9-0060b0ec3d39" height="1" id="xmldso" width="1" VIEWASTEXT=""></OBJECT>
      <OBJECT classid="clsid:550dda30-0541-11d2-9ca9-0060b0ec3d39" height="1" id="xmldso_dd" width="1" 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" placement="innerHTML">
var L_ConfirmDelete = 'Are you sure you want 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.';
var L_Empty = 'Entry is required for the following field: ';
var L_Invalid ='Entry is not valid for the following field: ';
</SCRIPT>
      <DIV style="BACKGROUND-COLOR: black; FONT-SIZE: x-small; MARGIN-LEFT: -20px">.</DIV>
      <FORM action="../Scripts/postIt.asp" method="post" name="frmActivity" onreset="refresh()" onsubmit="return update()" target="postIt">
         <INPUT name="tableName" type="hidden" value="activity" size="20"/>
         <INPUT name="procName" type="hidden" value="lw_changeActivity" size="20"/>
         <INPUT name="actionBtn" type="hidden" value="CHANGE" size="20"/>
         <INPUT dataFld="ActivityId" dataSrc="#xmldso" name="ID" type="hidden" size="20"/>
         <INPUT dataFld="ActivityId" dataSrc="#xmldso" name="ActivityId" type="hidden" size="20"/>
         <TABLE border="0" cellPadding="1" cellSpacing="1" width="100%">
            <TBODY>
               <TR>
                  <TD class="Label" colSpan="2" noWrap="-1">
                     <LABEL LID="lbl1" title="Activity Information" placement="innerHTML">Activity Information</LABEL>
                  </TD>
               </TR>
               <TR>
                  <TD vAlign="top" width="50%">
                     <TABLE border="0" cellPadding="1" cellSpacing="1" dataPageSize="1" dataSrc="#xmldso" width="100%">
                        <TBODY>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL class="LabelBold" LID="lbl2" title="Activity Name" placement="innerHTML">Activity <U>N</U>ame:</LABEL>
                              </TD>
                              <TD vAlign="top" width="100%">
                                 <INPUT dataFld="Description" maxLength="50" name="Description" onkeypress="setDirty()" tabIndex="1" size="20" style="WIDTH: 100%" LID="inp2" required="true" validator="isWord" accessKey="N" title="Maximum length 128 characters." L_NAME="Description"/>
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL LID="lbl3" title="Comments" placement="innerHTML">C<U>o</U>mments:</LABEL>
                              </TD>
                              <TD>
                                 <TEXTAREA cols="40" dataFld="Comment" name="Comment" onkeypress="setDirty()" rows="4" tabIndex="2" style="WIDTH: 100%" LID="txa3" accessKey="C" title="Comments"></TEXTAREA>
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL LID="lbl4" title="Location" placement="innerHTML"><U>L</U>ocation:</LABEL>
                              </TD>
                              <TD>
                                 <SELECT dataFld="LocationId" name="LocationId" onchange="setDirty()" size="1" tabIndex="3" style="WIDTH: 100%" LID="sel4" accessKey="l">
                                    <OPTION LID="opt4" value="" placement="innerText">(none)</OPTION>
                                 </SELECT>
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL LID="lbl5" title="Activity Type" placement="innerHTML">Activity <U>T</U>ype:</LABEL>
                              </TD>
                              <TD>
                                 <SELECT dataFld="ActivityTypeId" name="ActivityTypeId" onchange="setDirty()" size="1" tabIndex="4" style="WIDTH: 100%" LID="sel5" accessKey="t"></SELECT>
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL LID="lbl6" title="Group" placement="innerHTML"><U>G</U>roup:</LABEL>
                              </TD>
                              <TD>
                                 <SELECT dataFld="GroupId" name="GroupId" onchange="setDirty()" size="1" tabIndex="5" style="WIDTH: 100%" LID="sel6" accessKey="g"></SELECT>
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL LID="lbl7" placement="innerHTML" title="Grade Scale">Grade <U>S</U>cale:</LABEL>
                              </TD>
                              <TD>
                                 <SELECT dataFld="GradeScaleId" name="GradeScaleId" onchange="setDirty()" size="1" tabIndex="6" style="WIDTH: 100%" LID="sel7" accessKey="s">
                                    <OPTION value="">(none)</OPTION>
                                 </SELECT>
                              </TD>
                           </TR>
                        </TBODY>
                     </TABLE>
                  </TD>
                  <TD vAlign="top" width="50%">
                     <TABLE border="0" cellPadding="1" cellSpacing="1" dataPageSize="1" dataSrc="#xmldso" width="100%">
                        <TBODY>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL class="LabelBold" LID="lbl8" title="Weight" placement="innerHTML"><U>W</U>eight:</LABEL>
                              </TD>
                              <TD vAlign="top" width="100%">
                                 <INPUT dataFld="Weight" name="Weight" onkeypress="setDirty()" tabIndex="7" size="20" style="WIDTH: 100%" LID="inp8" required="true" validator="isTinyInt" accessKey="w" L_NAME="Weight"/>
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL class="LabelBold" LID="lbl9" title="Maximum Score" placement="innerHTML">Ma<U>x</U>. Score:</LABEL>
                              </TD>
                              <TD>
                                 <INPUT dataFld="MaxScore" name="MaxScore" onkeypress="setDirty()" tabIndex="8" size="20" style="WIDTH: 100%" LID="inp9" required="true" validator="isSmallInt" accessKey="x" L_NAME="Maximum Score"/>
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL LID="lbl10" title="Due Date" placement="innerHTML"><U>D</U>ue Date:</LABEL>
                              </TD>
                              <TD>
                                 <INPUT dataFld="DueDate" name="DueDate" onkeypress="setDirty()" tabIndex="9" size="20" style="WIDTH: 100%" LID="inp10" validator="isDate" accessKey="d" L_NAME="Due Date"/>
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL LID="lbl11" title="Standard Deviation" placement="innerHTML">Standard Deviation:</LABEL>
                              </TD>
                              <TD>
                                 <SPAN class="Text" dataFld="StandardDeviation" tabIndex="-1" style="WIDTH: 100%"></SPAN>
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL LID="lbl12" title="Average Score" placement="innerHTML">Average Score:</LABEL>
                              </TD>
                              <TD>
                                 <SPAN class="Text" dataFld="Average" tabIndex="-1" style="WIDTH: 100%"></SPAN>
                              </TD>
                           </TR>
                        </TBODY>
                     </TABLE>
                  </TD>
               </TR>
               <TR>
                  <TD></TD>
                  <TD>
                     <TABLE border="0" cellPadding="0" cellSpacing="2" width="100%">
                        <TBODY>
                           <TR>
                              <TD vAlign="top" width="33%">
                                 <BUTTON class="Button" id="cmdSubmit" tabIndex="10" type="submit" style="WIDTH: 100%" LID="btn1" placement="innerText">Change</BUTTON>
                              </TD>
                              <TD vAlign="top" width="33%">
                                 <BUTTON class="Button" disabled="-1" id="button1" name="button1" tabIndex="11" type="reset" style="WIDTH: 100%" LID="btn2" placement="innerText">New</BUTTON>
                              </TD>
                              <TD vAlign="top" width="33%">
                                 <BUTTON class="Button" disabled="-1" id="button2" name="button2" onclick="remove()" tabIndex="12" style="WIDTH: 100%" LID="btn3" placement="innerText">Delete</BUTTON>
                              </TD>
                           </TR>
                        </TBODY>
                     </TABLE>
                  </TD>
               </TR>
            </TBODY>
         </TABLE>
      </FORM>
      <IFRAME frameBorder="1" id="postIt" name="postIt" noResize="-1" style="DISPLAY: none"></IFRAME>
   </BODY>
</HTML>