BDG Scenario 3

ActivityType.htm (en_us)

<HTML>
   <HEAD>
      <TITLE LID="tit4">Activity Type 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_gs" 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/ActivityType.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="frmActivityType" onreset="refresh()" onsubmit="return update()" target="postIt">
         <INPUT name="tableName" type="hidden" value="activityType" size="20"/>
         <INPUT name="procName" type="hidden" value="lw_changeActivityType" size="20"/>
         <INPUT name="actionBtn" type="hidden" value="CHANGE" size="20"/>
         <INPUT dataFld="ActivityTypeId" dataSrc="#xmldso" name="ID" type="hidden" size="20"/>
         <INPUT dataFld="ActivityTypeId" dataSrc="#xmldso" name="ActivityTypeId" type="hidden" size="20"/>
         <TABLE border="0" cellPadding="1" cellSpacing="1" dataPageSize="1" dataSrc="#xmldso" width="100%">
            <TBODY>
               <TR>
                  <TD class="Label" colSpan="2" noWrap="-1" width="75%">
                     <LABEL LID="lbl19" placement="innerHTML">Activity Type Information</LABEL>
                  </TD>
               </TR>
               <TR>
                  <TD class="LabelSmall" noWrap="-1">
                     <LABEL class="LabelBold" LID="lbl20" placement="innerHTML">Activity Type <U>N</U>ame:</LABEL>
                  </TD>
                  <TD>
                     <INPUT dataFld="Name" maxLength="50" name="Name" onkeypress="setDirty()" tabIndex="1" size="20" style="WIDTH: 100%" LID="inp20" required="true" validator="isWord" accessKey="n" title="Maximum length 50 characters." L_NAME="Name"/>
                  </TD>
               </TR>
               <TR>
                  <TD class="LabelSmall" noWrap="-1">
                     <LABEL LID="lbl21" placement="innerHTML"><U>D</U>escription:</LABEL>
                  </TD>
                  <TD vAlign="top" width="100%">
                     <TEXTAREA cols="40" dataFld="Description" name="Description" onkeypress="setDirty()" rows="4" tabIndex="2" style="WIDTH: 100%" LID="txa21" accessKey="d" title="Maximum length 128 characters."></TEXTAREA>
                  </TD>
               </TR>
               <TR>
                  <TD class="LabelSmall" noWrap="-1">
                     <LABEL class="LabelBold" LID="lbl22" placement="innerHTML"><U>W</U>eight:</LABEL>
                  </TD>
                  <TD>
                     <INPUT dataFld="Weight" name="Weight" onkeypress="setDirty()" tabIndex="3" size="20" style="WIDTH: 100%" LID="inp22" required="true" validator="isTinyInt" accessKey="w" L_NAME="Weight"/>
                  </TD>
               </TR>
               <TR>
                  <TD class="LabelSmall" noWrap="-1">
                     <LABEL class="LabelBold" LID="lbl23" placement="innerHTML">Drop <U>L</U>owest:</LABEL>
                  </TD>
                  <TD>
                     <INPUT dataFld="DropLowest" name="DropLowest" onkeypress="setDirty()" tabIndex="4" size="20" style="WIDTH: 100%" LID="inp23" required="true" validator="isTinyInt" accessKey="l" L_NAME="Drop Lowest"/>
                  </TD>
               </TR>
               <TR>
                  <TD class="LabelSmall" noWrap="-1">
                     <LABEL class="LabelBold" LID="lbl24" placement="innerHTML">Penalty <U>T</U>ype:</LABEL>
                  </TD>
                  <TD>
                     <SELECT dataFld="LateType" name="LateType" onchange="setDirty()" size="1" tabIndex="5" style="WIDTH: 100%" LID="sel24" accessKey="t">
                        <OPTION LID="opt24" value="0" placement="innerText">No penalty for late scores</OPTION>
                        <OPTION LID="opt25" value="1" placement="innerText">Percentage of raw score</OPTION>
                        <OPTION LID="opt26" value="2" placement="innerText">Points off raw score</OPTION>
                        <OPTION LID="opt27" value="3" placement="innerText">Points lost per day late</OPTION>
                     </SELECT>
                  </TD>
               </TR>
               <TR>
                  <TD class="LabelSmall" noWrap="-1">
                     <LABEL class="LabelBold" LID="lbl30" placement="innerHTML">Penalty <U>V</U>alue:</LABEL>
                  </TD>
                  <TD>
                     <INPUT dataFld="LateValue" name="LateValue" onkeypress="setDirty()" tabIndex="6" size="20" style="WIDTH: 100%" LID="inp30" required="true" validator="isTinyInt" accessKey="v" L_NAME="Late Value"/>
                  </TD>
               </TR>
               <TR>
                  <TD class="LabelSmall" noWrap="-1">
                     <LABEL class="LabelBold" 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="7" style="WIDTH: 100%" LID="sel7" accessKey="s"></SELECT>
                  </TD>
               </TR>
               <TR>
                  <TD colSpan="2"> </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="8" 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="9" 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="11" 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>