BDG Scenario 3

Group.htm (en_us)

<HTML>
   <HEAD>
      <TITLE LID="tit6">Group 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_loc 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/Group.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="frmGroup" onreset="refresh()" onsubmit="return update()" target="postIt">
         <INPUT name="tableName" type="hidden" value="group" >
         <INPUT name="procName" type="hidden" value="lw_changeGroup" >
         <INPUT name="actionBtn" type="hidden" value="CHANGE" >
         <INPUT dataFld="GroupId" dataSrc="#xmldso" name="ID" type="hidden" >
         <INPUT dataFld="GroupId" dataSrc="#xmldso" name="GroupId" type="hidden" >
         <INPUT dataFld="MeetingDays" dataSrc="#xmldso" name="MeetingDays" type="hidden" >
         <TABLE border="0" cellPadding="1" cellSpacing="1" width="100%">
            <TBODY>
               <TR>
                  <TD class="Label" noWrap width="50%">
                     <LABEL placement="innerHTML" LID="lbl32">Group Information</LABEL>
                  </TD>
                  <TD class="Label" noWrap width="50%">
                     <LABEL placement="innerHTML" LID="lbl33">Group Meets</LABEL>
                  </TD>
               </TR>
               <TR>
                  <TD>
                     <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="lbl34">Group <U>N</U>ame:</LABEL>
                              </TD>
                              <TD>
                                 <INPUT dataFld="Name" maxLength="50" name="Name" onkeypress="setDirty()" tabIndex="1" style="WIDTH: 100%" accessKey ="n" LID="inp34" L_NAME="Name" validator="isWord" required="true">
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap>
                                 <LABEL placement="innerHTML" LID="lbl21"><U>D</U>escription:</LABEL>
                              </TD>
                              <TD vAlign="top" width="100%"><TEXTAREA accessKey=d cols=40 dataFld=Description name=Description onkeypress=setDirty() rows=4 style="WIDTH: 100%" tabIndex=2 title="Maximum length 128 characters." LID="txa21"></TEXTAREA>
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap>
                                 <LABEL placement="innerHTML" LID="lbl35"><U>L</U>ocation:</LABEL>
                                 <BR>
                                 <LABEL class="LabelXXSmall" placement="innerHTML" LID="lbl60">Number indicates occupancy.</LABEL>
                              </TD>
                              <TD>
                                 <SELECT dataFld="LocationId" name="LocationId" onchange="checkOccupancy()" size="1" tabIndex="3" style="WIDTH: 100%" accessKey="l" LID="sel35"></SELECT>
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap>
                                 <LABEL placement="innerHTML" LID="lbl36">Grade Scale (<U>1</U>):</LABEL>
                              </TD>
                              <TD>
                                 <SELECT dataFld="GradeScaleId1" name="GradeScaleId1" onchange="setDirty()" size="1" tabIndex="4" style="WIDTH: 100%" accessKey="1" LID="sel36"></SELECT>
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap>
                                 <LABEL placement="innerHTML" LID="lbl37">Grade Scale (<U>2</U>):</LABEL>
                              </TD>
                              <TD>
                                 <SELECT dataFld="GradeScaleId2" name="GradeScaleId2" onchange="setDirty()" size="1" tabIndex="5" style="WIDTH: 100%" accessKey="2" LID="sel37">
                                    <OPTION value="" selected placement="innerText" 
              LID="opt37">(none)</OPTION>
                                 </SELECT>
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap>
                                 <LABEL placement="innerHTML" LID="lbl38">Pe<U>r</U>iod:</LABEL>
                              </TD>
                              <TD>
                                 <INPUT dataFld="Period" name="Period" onkeypress="setDirty()" tabIndex="6" style="WIDTH: 100%" accessKey ="r" LID="inp38" L_NAME="Period" validator="isTinyInt">
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap>
                                 <LABEL placement="innerHTML" LID="lbl39">Ma<U>x</U>. Size:</LABEL>
                              </TD>
                              <TD>
                                 <INPUT dataFld="MaxSize" name="MaxSize" onchange="checkOccupancy()" onkeypress="setDirty()" tabIndex="7" style="WIDTH: 100%" accessKey ="x" LID="inp39" L_NAME="Maximum Size" validator="isTinyInt">
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap>
                                 <LABEL placement="innerHTML" LID="lbl40">Current Size:</LABEL>
                              </TD>
                              <TD>
                                 <SPAN class="Text" dataFld="Size" tabIndex="-1" style="WIDTH: 100%"></SPAN>
                              </TD>
                           </TR>
                        </TBODY>
                     </TABLE>
                  </TD>
                  <TD vAlign="top">
                     <TABLE border="0" cellPadding="1" cellSpacing="1" dataPageSize="1" dataSrc="#xmldso" id="GroupRecord" width="100%">
                        <TBODY>
                           <TR>
                              <TD class="LabelSmall" noWrap>
                                 <LABEL class="LabelBold" placement="innerHTML" LID="lbl41">Be<U>g</U>in Date:</LABEL>
                              </TD>
                              <TD>
                                 <INPUT dataFld="BeginDate" name="BeginDate" onblur="checkDate()" onkeypress="setDirty()" tabIndex="8" style="WIDTH: 100%" accessKey ="g" LID="inp41" L_NAME="Begin Date" validator="isDate" required="true">
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap>
                                 <LABEL placement="innerHTML" LID="lbl42"><U>E</U>nd Date:</LABEL>
                              </TD>
                              <TD>
                                 <INPUT dataFld="EndDate" name="EndDate" onblur="checkDate()" onkeypress="setDirty()" tabIndex="9" style="WIDTH: 100%" accessKey ="e" LID="inp42" L_NAME="End Date" validator="isDate">
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap>
                                 <LABEL placement="innerHTML" LID="lbl43">Mee<U>t</U>ing Days:</LABEL>
                              </TD>
                              <TD>
                                 <TABLE border="0" cellPadding="1" cellSpacing="1" width="100%">
                                    <TBODY>
                                       <TR>
                                          <TD class="LabelXXSmall" noWrap width="1">
                                             <LABEL for="chkMeetingDays0" placement="innerHTML" LID="lbl44">Su</LABEL>
                                          </TD>
                                          <TD class="LabelXXSmall" noWrap width="1">
                                             <LABEL for="chkMeetingDays1" placement="innerHTML" LID="lbl45">Mo</LABEL>
                                          </TD>
                                          <TD class="LabelXXSmall" noWrap width="1">
                                             <LABEL for="chkMeetingDays2" placement="innerHTML" LID="lbl46">Tu</LABEL>
                                          </TD>
                                          <TD class="LabelXXSmall" noWrap width="1">
                                             <LABEL for="chkMeetingDays3" placement="innerHTML" LID="lbl47">We</LABEL>
                                          </TD>
                                          <TD class="LabelXXSmall" noWrap width="1">
                                             <LABEL for="chkMeetingDays4" placement="innerHTML" LID="lbl48">Th</LABEL>
                                          </TD>
                                          <TD class="LabelXXSmall" noWrap width="1">
                                             <LABEL for="chkMeetingDays5" placement="innerHTML" LID="lbl49">Fr</LABEL>
                                          </TD>
                                          <TD class="LabelXXSmall" noWrap width="1">
                                             <LABEL for="chkMeetingDays6" placement="innerHTML" LID="lbl50">Sa</LABEL>
                                          </TD>
                                       </TR>
                                       <TR>
                                          <TD vAlign="top" width="1">
                                             <INPUT id="chkMeetingDays0" name="chkMeetingDays0" onclick="setDirty()" tabIndex="10" type="checkbox" accessKey="t" value="on" LID="inp44" >
                                          </TD>
                                          <TD vAlign="top" width="1">
                                             <INPUT CHECKED id="chkMeetingDays1" name="chkMeetingDays1" onclick="setDirty()" tabIndex="11" type="checkbox" accessKey="t" value="on" LID="inp45" >
                                          </TD>
                                          <TD vAlign="top" width="1">
                                             <INPUT CHECKED id="chkMeetingDays2" name="chkMeetingDays2" onclick="setDirty()" tabIndex="12" type="checkbox" accessKey="t" value="on" LID="inp46" >
                                          </TD>
                                          <TD vAlign="top" width="1">
                                             <INPUT CHECKED id="chkMeetingDays3" name="chkMeetingDays3" onclick="setDirty()" tabIndex="13" type="checkbox" accessKey="t" value="on" LID="inp47" >
                                          </TD>
                                          <TD vAlign="top" width="1">
                                             <INPUT CHECKED id="chkMeetingDays4" name="chkMeetingDays4" onclick="setDirty()" tabIndex="14" type="checkbox" accessKey="t" value="on" LID="inp48" >
                                          </TD>
                                          <TD vAlign="top" width="1">
                                             <INPUT CHECKED id="chkMeetingDays5" name="chkMeetingDays5" onclick="setDirty()" tabIndex="15" type="checkbox" accessKey="t" value="on" LID="inp49" >
                                          </TD>
                                          <TD vAlign="top" width="1">
                                             <INPUT id="chkMeetingDays6" name="chkMeetingDays6" onclick="setDirty()" tabIndex="16" type="checkbox" accessKey="t" value="on" LID="inp50" >
                                          </TD>
                                       </TR>
                                    </TBODY>
                                 </TABLE>
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap>
                                 <LABEL class="LabelBold" placement="innerHTML" LID="lbl51">Beg<U>i</U>n Time:</LABEL>
                              </TD>
                              <TD>
                                 <INPUT dataFld="BeginTime" name="BeginTime" onblur="checkTime()" onkeypress="setDirty()" tabIndex="17" style="WIDTH: 100%" accessKey ="i" LID="inp51" L_NAME="Begin Time" validator="isTime" required="true">
                              </TD>
                           </TR>
                           <TR>
                              <TD class="LabelSmall" noWrap>
                                 <LABEL placement="innerHTML" LID="lbl52">End Ti<U>m</U>e:</LABEL>
                              </TD>
                              <TD>
                                 <INPUT dataFld="EndTime" name="EndTime" onblur="checkTime()" onkeypress="setDirty()" tabIndex="18" style="WIDTH: 100%" accessKey ="m" LID="inp52" L_NAME="End Time" validator="isTime">
                              </TD>
                           </TR>
                        </TBODY>
                     </TABLE>
                  </TD>
               </TR>
               <TR>
                  <TD></TD>
                  <TD>
                     <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="19" type="submit" style="WIDTH: 100%" placement="innerText" LID="btn1">Change</BUTTON>
                                          </TD>
                                          <TD vAlign="top" width="33%">
                                             <BUTTON class="Button" disabled id="button1" name="button1" tabIndex="20" type="reset" style="WIDTH: 100%" placement="innerText" LID="btn2">New</BUTTON>
                                          </TD>
                                          <TD vAlign="top" width="33%">
                                             <BUTTON class="Button" disabled id="button2" name="button2" onclick="remove()" tabIndex="21" 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="cmdActivityForm" onclick="viewActivityList()" tabIndex="22" style="WIDTH: 100%" placement="innerText" LID="btn4">View Activity List</BUTTON>
                              </TD>
                           </TR>
                           <TR>
                              <TD vAlign="top" width="100%">
                                 <BUTTON class="Button" disabled id="cmdMemberForm" onclick="viewMembership()" tabIndex="23" style="WIDTH: 100%" placement="innerText" LID="btn5">View Membership</BUTTON>
                              </TD>
                           </TR>
                        </TBODY>
                     </TABLE>
                  </TD>
               </TR>
            </TBODY>
         </TABLE>
      </FORM>
      <IFRAME frameBorder="1" id="postIt" name="postIt" noResize style="DISPLAY: none"></IFRAME>
   </BODY>
</HTML>