BDG Scenario 3

Person.htm (en_us)

<HTML>
   <HEAD>
      <TITLE LID="tit12">Personal Information Form</TITLE>
      <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 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" placement="innerHTML" LID="scr1">
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="frmPerson" onreset="refresh()" onsubmit="return update()" target="postIt">
         <INPUT name="tableName" type="hidden" value="person" >
         <INPUT name="procName" type="hidden" value="lw_changePerson" >
         <INPUT name="actionBtn" type="hidden" value="CHANGE" >
         <INPUT dataFld="PersonId" dataSrc="#xmldso" name="PersonId" type="hidden" >
         <INPUT dataFld="PersonId" dataSrc="#xmldso" name="ID" type="hidden" >
         <INPUT dataFld="ReleaseInfo" dataSrc="#xmldso" name="ReleaseInfo" type="hidden" >
         <TABLE border="0" cellPadding="1" cellSpacing="1" width="100%">
            <THEAD>
               <TR>
                  <TD class="Label" noWrap width="45%">
                     <LABEL placement="innerHTML" LID="lbl73">Personal Information</LABEL>
                  </TD>
                  <TD class="LabelXXSmall" width="5%">
                     <LABEL placement="innerHTML" LID="lbl74">Release? (Y/N):</LABEL>
                  </TD>
                  <TD>&nbsp;</TD>
                  <TD class="Label" noWrap width="45%">
                     <LABEL placement="innerHTML" LID="lbl75">Contact Information</LABEL>
                  </TD>
                  <TD class="LabelXXSmall" width="5%">
                     <LABEL placement="innerHTML" LID="lbl74">Release? (Y/N):</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>
                                 <LABEL class="LabelBold" placement="innerHTML" LID="lbl76"><U>F</U>irst Name:</LABEL>
                              </TD>
                              <TD vAlign="top">
                                 <INPUT dataFld="FirstName" maxLength="50" name="FirstName" onkeypress="setDirty()" tabIndex="1" accessKey="f" title="Maximum length 50 characters." LID="inp76" L_NAME   ="First Name" 
            validator="isAlpha" required="true">
                              </TD>
                              <TD align="left">
                                 <INPUT CHECKED name="chkReleaseFirstName" onclick="setDirty()" tabIndex="10" type="checkbox" value="on" >
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap>
                                 <LABEL class="LabelBold" placement="innerHTML" LID="lbl77"><U>L</U>ast Name:</LABEL>
                              </TD>
                              <TD vAlign="top">
                                 <INPUT dataFld="LastName" maxLength="50" name="LastName" onkeypress="setDirty()" tabIndex="2" accessKey="l" title="Maximum length 50 characters." LID="inp77" L_NAME   ="Last Name" 
            validator="isAlpha" required="true">
                              </TD>
                              <TD align="left">
                                 <INPUT CHECKED name="chkReleaseLastName" onclick="setDirty()" tabIndex="11" type="checkbox" value="on" >
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap>
                                 <LABEL placement="innerHTML" LID="lbl78"><U>I</U>D Number:</LABEL>
                              </TD>
                              <TD vAlign="top">
                                 <INPUT dataFld="StudentId" maxLength="12" name="StudentId" onkeypress="setDirty()" tabIndex="3" accessKey="i" LID="inp78" L_NAME="ID Number">
                              </TD>
                              <TD align="left">
                                 <INPUT name="chkReleaseIDNumber" onclick="setDirty()" tabIndex="12" type="checkbox" value="on" 
           >
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap>
                                 <LABEL placement="innerHTML" LID="lbl61">E-<U>m</U>ail Name:</LABEL>
                              </TD>
                              <TD vAlign="top">
                                 <INPUT dataFld="Email" maxLength="50" name="Email" onkeypress="setDirty()" tabIndex="4" accessKey="m" title="Maximum length 50 characters." LID   ="inp61" L_NAME="Email Address" validator="isEmail">
                              </TD>
                              <TD align="left">
                                 <INPUT CHECKED name="chkReleaseEmailName" onclick="setDirty()" tabIndex="13" type="checkbox" value="on" >
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap>
                                 <LABEL placement="innerHTML" LID="lbl62">Tele<U>p</U>hone:</LABEL>
                              </TD>
                              <TD vAlign="top">
                                 <INPUT dataFld="Phone" maxLength="24" name="Phone" onkeypress="setDirty()" tabIndex="5" accessKey="p" title="Maximum length 24 characters." LID   ="inp62" L_NAME="Telephone Number" validator="isPhone">
                              </TD>
                              <TD align="left">
                                 <INPUT name="chkReleaseTelephone" onclick="setDirty()" tabIndex="14" type="checkbox" value="on" 
           >
                              </TD>
                           </TR>
                           <TR>
                              <TD colSpan="3">&nbsp;</TD>
                           </TR>
                           <TR>
                              <TD class="Label" colSpan="3" noWrap>
                                 <LABEL placement="innerHTML" LID="lbl58">Address</LABEL>
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap>
                                 <LABEL placement="innerHTML" LID="lbl63">Str<U>e</U>et:</LABEL>
                              </TD>
                              <TD vAlign="top">
                                 <INPUT dataFld="Street" maxLength="64" name="Street" onkeypress="setDirty()" tabIndex="5" accessKey="e" title="Maximum length 64 characters." LID  ="inp63" L_NAME="Street Address">
                              </TD>
                              <TD align="left">
                                 <INPUT name="chkReleaseStreet" onclick="setDirty()" tabIndex="15" type="checkbox" value="on" 
           >
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap>
                                 <LABEL placement="innerHTML" LID="lbl64"><U>C</U>ity:</LABEL>
                              </TD>
                              <TD vAlign="top">
                                 <INPUT dataFld="City" maxLength="32" name="City" onkeypress="setDirty()" tabIndex="6" accessKey="c" title="Maximum length 32 characters." LID   ="inp64" L_NAME="City" validator="isAlpha">
                              </TD>
                              <TD align="left">
                                 <INPUT name="chkReleaseCity" onclick="setDirty()" tabIndex="16" type="checkbox" value="on" 
           >
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap>
                                 <LABEL placement="innerHTML" LID="lbl65">Re<U>g</U>ion:</LABEL>
                              </TD>
                              <TD vAlign="top">
                                 <INPUT dataFld="Region" maxLength="32" name="Region" onkeypress="setDirty()" tabIndex="7" accessKey="g" title="Maximum length 32 characters." LID   ="inp65" L_NAME="Region" 
            validator="isAlpha">
                              </TD>
                              <TD align="left">
                                 <INPUT name="chkReleaseRegion" onclick="setDirty()" tabIndex="17" type="checkbox" value="on" 
           >
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap>
                                 <LABEL placement="innerHTML" LID="lbl66">Pos<U>t</U>al Code:</LABEL>
                              </TD>
                              <TD vAlign="top">
                                 <INPUT dataFld="PostalCode" maxLength="20" name="PostalCode" onkeypress="setDirty()" tabIndex="8" accessKey="t" title="Maximum length 20 characters." LID   ="inp66" L_NAME="Postal Code" validator="isWord">
                              </TD>
                              <TD align="left">
                                 <INPUT name="chkReleasePostalCode" onclick="setDirty()" tabIndex="18" type="checkbox" value="on" 
           >
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap>
                                 <LABEL placement="innerHTML" LID="lbl67">Cou<U>n</U>try:</LABEL>
                              </TD>
                              <TD vAlign="top">
                                 <INPUT dataFld="Country" maxLength="32" name="Country" onkeypress="setDirty()" tabIndex="9" accessKey="n" title="Maximum length 32 characters." LID   ="inp67" L_NAME="Country" 
            validator="isAlpha">
                              </TD>
                              <TD align="left">
                                 <INPUT name="chkReleaseCountry" onclick="setDirty()" tabIndex="19" type="checkbox" value="on" 
           >
                              </TD>
                           </TR>
                        </TBODY>
                     </TABLE>
                  </TD>
                  <TD>&nbsp;</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>
                                 <LABEL placement="innerHTML" LID="lbl79">F<U>u</U>ll Name:</LABEL>
                              </TD>
                              <TD vAlign="top">
                                 <INPUT dataFld="Contact" maxLength="50" name="Contact" onkeypress="setDirty()" tabIndex="20" accessKey="u" LID="inp79" L_NAME="Contact Name" validator="isAlpha" >
                              </TD>
                              <TD align="left">
                                 <INPUT name="chkReleaseContactFullName" onclick="setDirty()" tabIndex="23" type="checkbox" value="on" >
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap>
                                 <LABEL placement="innerHTML" LID="lbl80">Telep<U>h</U>one:</LABEL>
                              </TD>
                              <TD vAlign="top">
                                 <INPUT dataFld="ContactPhone" maxLength="24" name="ContactPhone" onkeypress="setDirty()" tabIndex="21" accessKey="h" LID="inp80" L_NAME="Contact Phone" validator="isPhone" >
                              </TD>
                              <TD align="left">
                                 <INPUT name="chkReleaseContactTelephone" onclick="setDirty()" tabIndex="24" type="checkbox" value="on" >
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap>
                                 <LABEL placement="innerHTML" LID="lbl81"><U>R</U>elationship:</LABEL>
                              </TD>
                              <TD vAlign="top">
                                 <INPUT dataFld="ContactRelationship" maxLength="24" name="ContactRelationship" onkeypress="setDirty()" tabIndex="22" accessKey="r" LID="inp81" L_NAME="Contact Relationship" validator="isAlpha" >
                              </TD>
                              <TD align="left">
                                 <INPUT name="chkReleaseContactRelationship" onclick="setDirty()" tabIndex="25" type="checkbox" value="on" >
                              </TD>
                           </TR>
                           <TR>
                              <TD colSpan="3">&nbsp;</TD>
                           </TR>
                        </TBODY>
                     </TABLE>
                  </TD>
               </TR>
               <TR>
                  <TD colSpan="5">&nbsp;</TD>
               </TR>
               <TR>
                  <TD colSpan="3">&nbsp;</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%" placement="innerText" LID="btn1">Change</BUTTON>
                                          </TD>
                                          <TD vAlign="top" width="33%">
                                             <BUTTON class="button" disabled tabIndex="27" type="reset" style="WIDTH: 100%" placement="innerText" LID="btn2">New</BUTTON>
                                          </TD>
                                          <TD vAlign="top" width="33%">
                                             <BUTTON class="button" disabled onclick="remove()" tabIndex="28" style="WIDTH: 100%" placement="innerText" LID="btn3">Delete</BUTTON>
                                          </TD>
                                       </TR>
                                    </TBODY>
                                 </TABLE>
                              </TD>
                           </TR>
                           <TR>
                              <TD vAlign="top" width="100%">
                                 <BUTTON class="Button" disabled id="btnClass" onclick="viewSchedule()" tabIndex="29" style="WIDTH: 100%" placement="innerText" LID="btn6">View Schedule of Classes</BUTTON>
                              </TD>
                           </TR>
                        </TBODY>
                     </TABLE>
                  </TD>
               </TR>
            </TBODY>
         </TABLE>
      </FORM>
      <IFRAME frameBorder="1" id="postIt" name="postIt" noResize style="DISPLAY: none"></IFRAME>
   </BODY>
</HTML>