BDG Scenario 3

Activity.xml

<HTML>
   <HEAD>
      <TITLE LID="tit1"></TITLE>
      <META content="Microsoft Visual Studio 6.0" name="generator" />
      <META http-equiv="content-type" />
      <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"></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"></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"></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" />
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL LID="lbl3"></LABEL>
                              </TD>
                              <TD>
                                 <TEXTAREA cols="40" dataFld="Comment" name="Comment" onkeypress="setDirty()" rows="4" tabIndex="2" style="WIDTH: 100%" LID="txa3"></TEXTAREA>
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL LID="lbl4"></LABEL>
                              </TD>
                              <TD>
                                 <SELECT dataFld="LocationId" name="LocationId" onchange="setDirty()" size="1" tabIndex="3" style="WIDTH: 100%" LID="sel4">
                                    <OPTION LID="opt4"></OPTION>
                                 </SELECT>
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL LID="lbl5"></LABEL>
                              </TD>
                              <TD>
                                 <SELECT dataFld="ActivityTypeId" name="ActivityTypeId" onchange="setDirty()" size="1" tabIndex="4" style="WIDTH: 100%" LID="sel5"></SELECT>
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL LID="lbl6"></LABEL>
                              </TD>
                              <TD>
                                 <SELECT dataFld="GroupId" name="GroupId" onchange="setDirty()" size="1" tabIndex="5" style="WIDTH: 100%" LID="sel6"></SELECT>
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL LID="lbl7"></LABEL>
                              </TD>
                              <TD>
                                 <SELECT dataFld="GradeScaleId" name="GradeScaleId" onchange="setDirty()" size="1" tabIndex="6" style="WIDTH: 100%" LID="sel7">
                                    <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"></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" />
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL class="LabelBold" LID="lbl9"></LABEL>
                              </TD>
                              <TD>
                                 <INPUT dataFld="MaxScore" name="MaxScore" onkeypress="setDirty()" tabIndex="8" size="20" style="WIDTH: 100%" LID="inp9" required="true" validator="isSmallInt" />
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL LID="lbl10"></LABEL>
                              </TD>
                              <TD>
                                 <INPUT dataFld="DueDate" name="DueDate" onkeypress="setDirty()" tabIndex="9" size="20" style="WIDTH: 100%" LID="inp10" validator="isDate" />
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL LID="lbl11"></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"></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"></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"></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"></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>