BDG Scenario 3

Person.xml

<HTML>
   <HEAD>
      <TITLE LID="tit12"></TITLE>
      <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" codeBase="" height="1" name="xmldso" 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/Person.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="frmPerson" onreset="refresh()" onsubmit="return update()" target="postIt">
         <INPUT name="tableName" type="hidden" value="person" size="20" />
         <INPUT name="procName" type="hidden" value="lw_changePerson" size="20" />
         <INPUT name="actionBtn" type="hidden" value="CHANGE" size="20" />
         <INPUT dataFld="PersonId" dataSrc="#xmldso" name="PersonId" type="hidden" size="20" />
         <INPUT dataFld="PersonId" dataSrc="#xmldso" name="ID" type="hidden" size="20" />
         <INPUT dataFld="ReleaseInfo" dataSrc="#xmldso" name="ReleaseInfo" type="hidden" size="20" />
         <TABLE border="0" cellPadding="1" cellSpacing="1" width="100%">
            <THEAD>
               <TR>
                  <TD class="Label" noWrap="-1" width="45%">
                     <LABEL LID="lbl73"></LABEL>
                  </TD>
                  <TD class="LabelXXSmall" width="5%">
                     <LABEL LID="lbl74"></LABEL>
                  </TD>
                  <TD> </TD>
                  <TD class="Label" noWrap="-1" width="45%">
                     <LABEL LID="lbl75"></LABEL>
                  </TD>
                  <TD class="LabelXXSmall" width="5%">
                     <LABEL LID="lbl74"></LABEL>
                  </TD>
               </TR>
            </THEAD>
            <TBODY>
               <TR>
                  <TD colSpan="2" vAlign="top">
                     <TABLE border="0" cellPadding="1" cellSpacing="1" dataPageSize="1" dataSrc="#xmldso" width="100%">
                        <TBODY>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL class="LabelBold" LID="lbl76"></LABEL>
                              </TD>
                              <TD vAlign="top">
                                 <INPUT dataFld="FirstName" maxLength="50" name="FirstName" onkeypress="setDirty()" tabIndex="1" size="20" LID="inp76" required="true" validator="isAlpha" />
                              </TD>
                              <TD align="left">
                                 <INPUT CHECKED="-1" name="chkReleaseFirstName" onclick="setDirty()" tabIndex="10" type="checkbox" value="on" size="20" />
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL class="LabelBold" LID="lbl77"></LABEL>
                              </TD>
                              <TD vAlign="top">
                                 <INPUT dataFld="LastName" maxLength="50" name="LastName" onkeypress="setDirty()" tabIndex="2" size="20" LID="inp77" required="true" validator="isAlpha" />
                              </TD>
                              <TD align="left">
                                 <INPUT CHECKED="-1" name="chkReleaseLastName" onclick="setDirty()" tabIndex="11" type="checkbox" value="on" size="20" />
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL LID="lbl78"></LABEL>
                              </TD>
                              <TD vAlign="top">
                                 <INPUT dataFld="StudentId" maxLength="12" name="StudentId" onkeypress="setDirty()" tabIndex="3" size="20" LID="inp78" />
                              </TD>
                              <TD align="left">
                                 <INPUT name="chkReleaseIDNumber" onclick="setDirty()" tabIndex="12" type="checkbox" value="on" size="20" />
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL LID="lbl61"></LABEL>
                              </TD>
                              <TD vAlign="top">
                                 <INPUT dataFld="Email" maxLength="50" name="Email" onkeypress="setDirty()" tabIndex="4" size="20" LID="inp61" validator="isEmail" />
                              </TD>
                              <TD align="left">
                                 <INPUT CHECKED="-1" name="chkReleaseEmailName" onclick="setDirty()" tabIndex="13" type="checkbox" value="on" size="20" />
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL LID="lbl62"></LABEL>
                              </TD>
                              <TD vAlign="top">
                                 <INPUT dataFld="Phone" maxLength="24" name="Phone" onkeypress="setDirty()" tabIndex="5" size="20" LID="inp62" validator="isPhone" />
                              </TD>
                              <TD align="left">
                                 <INPUT name="chkReleaseTelephone" onclick="setDirty()" tabIndex="14" type="checkbox" value="on" size="20" />
                              </TD>
                           </TR>
                           <TR>
                              <TD colSpan="3"> </TD>
                           </TR>
                           <TR>
                              <TD class="Label" colSpan="3" noWrap="-1">
                                 <LABEL LID="lbl58"></LABEL>
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL LID="lbl63"></LABEL>
                              </TD>
                              <TD vAlign="top">
                                 <INPUT dataFld="Street" maxLength="64" name="Street" onkeypress="setDirty()" tabIndex="5" size="20" LID="inp63" />
                              </TD>
                              <TD align="left">
                                 <INPUT name="chkReleaseStreet" onclick="setDirty()" tabIndex="15" type="checkbox" value="on" size="20" />
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL LID="lbl64"></LABEL>
                              </TD>
                              <TD vAlign="top">
                                 <INPUT dataFld="City" maxLength="32" name="City" onkeypress="setDirty()" tabIndex="6" size="20" LID="inp64" validator="isAlpha" />
                              </TD>
                              <TD align="left">
                                 <INPUT name="chkReleaseCity" onclick="setDirty()" tabIndex="16" type="checkbox" value="on" size="20" />
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL LID="lbl65"></LABEL>
                              </TD>
                              <TD vAlign="top">
                                 <INPUT dataFld="Region" maxLength="32" name="Region" onkeypress="setDirty()" tabIndex="7" size="20" LID="inp65" validator="isAlpha" />
                              </TD>
                              <TD align="left">
                                 <INPUT name="chkReleaseRegion" onclick="setDirty()" tabIndex="17" type="checkbox" value="on" size="20" />
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL LID="lbl66"></LABEL>
                              </TD>
                              <TD vAlign="top">
                                 <INPUT dataFld="PostalCode" maxLength="20" name="PostalCode" onkeypress="setDirty()" tabIndex="8" size="20" LID="inp66" validator="isWord" />
                              </TD>
                              <TD align="left">
                                 <INPUT name="chkReleasePostalCode" onclick="setDirty()" tabIndex="18" type="checkbox" value="on" size="20" />
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL LID="lbl67"></LABEL>
                              </TD>
                              <TD vAlign="top">
                                 <INPUT dataFld="Country" maxLength="32" name="Country" onkeypress="setDirty()" tabIndex="9" size="20" LID="inp67" validator="isAlpha" />
                              </TD>
                              <TD align="left">
                                 <INPUT name="chkReleaseCountry" onclick="setDirty()" tabIndex="19" type="checkbox" value="on" size="20" />
                              </TD>
                           </TR>
                        </TBODY>
                     </TABLE>
                  </TD>
                  <TD> </TD>
                  <TD colSpan="2" vAlign="top">
                     <TABLE border="0" cellPadding="1" cellSpacing="1" dataPageSize="1" dataSrc="#xmldso" id="PersonRecord" width="100%">
                        <TBODY>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL LID="lbl79"></LABEL>
                              </TD>
                              <TD vAlign="top">
                                 <INPUT dataFld="Contact" maxLength="50" name="Contact" onkeypress="setDirty()" tabIndex="20" size="20" LID="inp79" validator="isAlpha" />
                              </TD>
                              <TD align="left">
                                 <INPUT name="chkReleaseContactFullName" onclick="setDirty()" tabIndex="23" type="checkbox" value="on" size="20" />
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL LID="lbl80"></LABEL>
                              </TD>
                              <TD vAlign="top">
                                 <INPUT dataFld="ContactPhone" maxLength="24" name="ContactPhone" onkeypress="setDirty()" tabIndex="21" size="20" LID="inp80" validator="isPhone" />
                              </TD>
                              <TD align="left">
                                 <INPUT name="chkReleaseContactTelephone" onclick="setDirty()" tabIndex="24" type="checkbox" value="on" size="20" />
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap="-1">
                                 <LABEL LID="lbl81"></LABEL>
                              </TD>
                              <TD vAlign="top">
                                 <INPUT dataFld="ContactRelationship" maxLength="24" name="ContactRelationship" onkeypress="setDirty()" tabIndex="22" size="20" LID="inp81" validator="isAlpha" />
                              </TD>
                              <TD align="left">
                                 <INPUT name="chkReleaseContactRelationship" onclick="setDirty()" tabIndex="25" type="checkbox" value="on" size="20" />
                              </TD>
                           </TR>
                           <TR>
                              <TD colSpan="3"> </TD>
                           </TR>
                        </TBODY>
                     </TABLE>
                  </TD>
               </TR>
               <TR>
                  <TD colSpan="5"> </TD>
               </TR>
               <TR>
                  <TD colSpan="3"> </TD>
                  <TD colSpan="2">
                     <TABLE width="100%">
                        <TBODY>
                           <TR>
                              <TD>
                                 <TABLE border="0" cellPadding="0" cellSpacing="2" width="100%">
                                    <TBODY>
                                       <TR>
                                          <TD vAlign="top" width="33%">
                                             <BUTTON class="button" id="cmdSubmit" tabIndex="26" type="submit" style="WIDTH: 100%" LID="btn1"></BUTTON>
                                          </TD>
                                          <TD vAlign="top" width="33%">
                                             <BUTTON class="button" disabled="-1" tabIndex="27" type="reset" style="WIDTH: 100%" LID="btn2"></BUTTON>
                                          </TD>
                                          <TD vAlign="top" width="33%">
                                             <BUTTON class="button" disabled="-1" onclick="remove()" tabIndex="28" style="WIDTH: 100%" LID="btn3"></BUTTON>
                                          </TD>
                                       </TR>
                                    </TBODY>
                                 </TABLE>
                              </TD>
                           </TR>
                           <TR>
                              <TD vAlign="top" width="100%">
                                 <BUTTON class="Button" disabled="-1" id="btnClass" onclick="viewSchedule()" tabIndex="29" style="WIDTH: 100%" LID="btn6"></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>