BDG Scenario 3

Location.htm (en_us)

<HTML>
   <HEAD>
      <TITLE LID="tit9">Location 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" height="1" id="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/Location.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="frmLocation" onreset="refresh()" onsubmit="return update()" target="postIt">
         <INPUT name="tableName" type="hidden" value="Location" size="20"/>
         <INPUT name="procName" type="hidden" value="lw_changeLocation" size="20"/>
         <INPUT name="actionBtn" type="hidden" value="CHANGE" size="20"/>
         <INPUT dataFld="LocationId" dataSrc="#xmldso" name="ID" type="hidden" size="20"/>
         <INPUT dataFld="LocationId" dataSrc="#xmldso" name="LocationId" type="hidden" size="20"/>
         <TABLE dataPageSize="1" dataSrc="#xmldso" width="100%">
            <THEAD>
               <TR>
                  <TD width="50%">
                     <LABEL LID="lbl57" placement="innerHTML">Location Information</LABEL>
                  </TD>
                  <TD width="50%">
                     <LABEL LID="lbl58" placement="innerHTML">Address</LABEL>
                  </TD>
               </TR>
            </THEAD>
            <TBODY>
               <TR>
                  <TD>
                     <TABLE dataPageSize="1" dataSrc="#xmldso" width="100%">
                        <TBODY>
                           <TR>
                              <TD class="LabelSmall">
                                 <LABEL class="LabelBold" LID="lbl59" placement="innerHTML"><U>L</U>ocation Name:</LABEL>
                              </TD>
                              <TD width="100%">
                                 <INPUT dataFld="Name" maxLength="50" name="Name" onkeypress="setDirty()" tabIndex="1" size="20" style="WIDTH: 100%" LID="inp59" required="true" validator="isWord" accessKey="l" title="Maximum length 50 characters." L_NAME="Name"/>
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall">
                                 <LABEL LID="lbl3" title="Comments" placement="innerHTML">C<U>o</U>mments:</LABEL>
                              </TD>
                              <TD>
                                 <TEXTAREA 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="lbl61" placement="innerHTML">E-<U>m</U>ail Name:</LABEL>
                              </TD>
                              <TD>
                                 <INPUT dataFld="Email" maxLength="128" name="Email" onkeypress="setDirty()" tabIndex="3" size="20" style="WIDTH: 100%" LID="inp61" validator="isEmail" accessKey="m" title="Maximum length 50 characters." L_NAME="Email Address"/>
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall">
                                 <LABEL LID="lbl62" placement="innerHTML">Tele<U>p</U>hone:</LABEL>
                              </TD>
                              <TD>
                                 <INPUT dataFld="Phone" maxLength="24" name="Phone" onkeypress="setDirty()" tabIndex="4" size="20" style="WIDTH: 100%" LID="inp62" validator="isPhone" accessKey="p" title="Maximum length 24 characters." L_NAME="Telephone Number"/>
                              </TD>
                           </TR>
                        </TBODY>
                     </TABLE>
                  </TD>
                  <TD>
                     <TABLE dataPageSize="1" dataSrc="#xmldso" width="100%">
                        <TBODY>
                           <TR>
                              <TD class="LabelSmall" width="20%">
                                 <LABEL LID="lbl63" placement="innerHTML">Str<U>e</U>et:</LABEL>
                              </TD>
                              <TD width="30%">
                                 <INPUT dataFld="Street" maxLength="64" name="Street" onkeypress="setDirty()" tabIndex="5" size="20" style="WIDTH: 100%" LID="inp63" accessKey="e" title="Maximum length 64 characters." L_NAME="Street Address"/>
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall">
                                 <LABEL LID="lbl64" placement="innerHTML"><U>C</U>ity:</LABEL>
                              </TD>
                              <TD>
                                 <INPUT dataFld="City" maxLength="32" name="City" onkeypress="setDirty()" tabIndex="6" size="20" style="WIDTH: 100%" LID="inp64" validator="isAlpha" accessKey="c" title="Maximum length 32 characters." L_NAME="City"/>
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall">
                                 <LABEL LID="lbl65" placement="innerHTML">Re<U>g</U>ion:</LABEL>
                              </TD>
                              <TD>
                                 <INPUT dataFld="Region" maxLength="32" name="Region" onkeypress="setDirty()" tabIndex="7" size="20" style="WIDTH: 100%" LID="inp65" validator="isAlpha" accessKey="g" title="Maximum length 32 characters." L_NAME="Region"/>
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall">
                                 <LABEL LID="lbl66" placement="innerHTML">Pos<U>t</U>al Code:</LABEL>
                              </TD>
                              <TD>
                                 <INPUT dataFld="PostalCode" maxLength="20" name="PostalCode" onkeypress="setDirty()" tabIndex="8" size="20" style="WIDTH: 100%" LID="inp66" validator="isWord" accessKey="t" title="Maximum length 20 characters." L_NAME="Postal Code"/>
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall">
                                 <LABEL LID="lbl67" placement="innerHTML">Cou<U>n</U>try:</LABEL>
                              </TD>
                              <TD>
                                 <INPUT dataFld="Country" maxLength="32" name="Country" onkeypress="setDirty()" tabIndex="9" size="20" style="WIDTH: 100%" LID="inp67" validator="isAlpha" accessKey="n" title="Maximum length 32 characters." L_NAME="Country"/>
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall">
                                 <LABEL class="LabelBold" LID="lbl68" placement="innerHTML">Ma<U>x</U>imum<BR></BR>Occupancy:</LABEL>
                              </TD>
                              <TD>
                                 <INPUT dataFld="MaxOccupancy" maxLength="10" name="MaxOccupancy" onkeypress="setDirty()" tabIndex="10" size="20" style="WIDTH: 100%" LID="inp68" required="true" validator="isSmallInt" accessKey="x" title="Maximum value is 32767." L_NAME="Maximum Occupancy"/>
                              </TD>
                           </TR>
                        </TBODY>
                     </TABLE>
                  </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="11" type="submit" style="WIDTH: 100%" LID="btn1" placement="innerText">Change</BUTTON>
                              </TD>
                              <TD vAlign="top" width="33%">
                                 <BUTTON class="Button" disabled="-1" tabIndex="12" type="reset" style="WIDTH: 100%" LID="btn2" placement="innerText">New</BUTTON>
                              </TD>
                              <TD vAlign="top" width="33%">
                                 <BUTTON class="Button" disabled="-1" onclick="remove()" tabIndex="13" 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>