Group.htm
<html>
<head>
<title LID="tit6">Group Form</title>
<meta name="generator" content="Microsoft Visual Studio 6.0">
<meta http-equiv="content-type" />
<link href="../forms.css" rel="stylesheet" type="text/css">
</head>
<body scroll="auto" rightmargin="20" leftmargin="20" onBeforeUnload="return checkDirty()">
<OBJECT classid=clsid:550dda30-0541-11d2-9ca9-0060b0ec3d39 height=0 id=xmldso
width=0 VIEWASTEXT></OBJECT>
<OBJECT classid=clsid:550dda30-0541-11d2-9ca9-0060b0ec3d39 height=0
id=xmldso_loc width=0 VIEWASTEXT></OBJECT>
<OBJECT classid=clsid:550dda30-0541-11d2-9ca9-0060b0ec3d39 height=0 id=xmldso_gs
width=0 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" LID="scr1">
var L_ConfirmDelete = 'Are you sure you wish 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. Click Change to save your changes to the database.';
var L_Empty = "Entry is required for: ";
var L_Invalid ='Entry is not valid for: ';
</script>
<div style="BACKGROUND-COLOR: black; FONT-SIZE: x-small; MARGIN-LEFT: -20px">.</div>
<form name="frmGroup" action="../Scripts/postIt.asp" method="post" target="postIt" onSubmit="return update()" onReset="refresh()">
<input name="tableName" type="hidden" value="group">
<input name="procName" type="hidden" value="lw_changeGroup">
<input name="actionBtn" type="hidden" value="CHANGE">
<input name="ID" type="hidden" DATASRC="#xmldso" DATAFLD="GroupId">
<input name="GroupId" type="hidden" DATASRC="#xmldso" DATAFLD="GroupId">
<input name="MeetingDays" type="hidden" DATASRC="#xmldso" DATAFLD="MeetingDays">
<table WIDTH="100%" BORDER="0" CELLSPACING="1" CELLPADDING="1">
<tr>
<td class="Label" nowrap width="50%"><label LID="lbl32">Group Information</label></td>
<td class="Label" nowrap width="50%"><label LID="lbl33">Group Meets</label></td>
</tr>
<tr>
<td>
<table border="0" cellPadding="1" cellSpacing="1" width="100%" DATAPAGESIZE="1" DATASRC="#xmldso">
<tbody>
<tr>
<td class="LabelSmall" nowrap><label class="LabelBold" LID="lbl34">Group <u>N</u>ame:</label></td>
<td><input name="Name" style="WIDTH: 100%" tabIndex="1" accessKey="n" DATAFLD="Name" maxlength="50" onKeypress="setDirty()" LID="inp34" validator="isWord" required="true" L_NAME="Name"></td></tr>
<tr>
<td class="LabelSmall" nowrap><label LID="lbl21"><u>D</u>escription:</label></td>
<td width="100%" valign="top"><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" maxlength="128"></TEXTAREA></td></tr>
<tr>
<td class="LabelSmall" nowrap><label LID="lbl35"><u>L</u>ocation:</label><br><label LID="lbl60" class="LabelXXSmall">Number indicates occupancy.</label></td>
<td><select name="LocationId" size="1" DATAFLD="LocationId" onChange="checkOccupancy()" style="WIDTH: 100%" tabIndex="3" accessKey="l" LID="sel35"></select></td></tr>
<tr>
<td class="LabelSmall" nowrap><label LID="lbl36">Grade Scale (<u>1</u>):</label></td>
<td><select name="GradeScaleId1" size="1" DATAFLD="GradeScaleId1" style="WIDTH: 100%" tabIndex="4" accessKey="1" onChange="setDirty()" LID="sel36"></select></td></tr>
<tr>
<td class="LabelSmall" nowrap><label LID="lbl37">Grade Scale (<u>2</u>):</label></td>
<td><select name="GradeScaleId2" size="1" DATAFLD="GradeScaleId2" style="WIDTH: 100%" tabIndex="5" accessKey="2" onChange="setDirty()" LID="sel37">
<option selected value ="" LID="opt37">(none)</option></select></td></tr>
<tr>
<td class="LabelSmall" nowrap><label LID="lbl38">Pe<u>r</u>iod:</label></td>
<td><input name="Period" style="WIDTH: 100%" tabIndex="6" accessKey="r" DATAFLD="Period" onKeypress="setDirty()" LID="inp38" validator="isTinyInt" L_NAME="Period"></td></tr>
<tr>
<td class="LabelSmall" nowrap><label LID="lbl39">Ma<u>x</u>. Size:</label></td>
<td><input name="MaxSize" style="WIDTH: 100%" tabIndex="7" accessKey="x" DATAFLD="MaxSize" onChange="checkOccupancy()" onKeypress="setDirty()" LID="inp39" validator="isTinyInt" L_NAME="MaxSize"></td></tr>
<tr>
<td class="LabelSmall" nowrap><label LID="lbl40">Current Size:</label></td>
<td><span class="Text" style="WIDTH: 100%" tabIndex="-1" DATAFLD="Size"></span></td></tr>
</tbody>
</table></td>
<td vAlign="top">
<table id="GroupRecord" border="0" cellPadding="1" cellSpacing="1" width="100%" DATAPAGESIZE="1" DATASRC="#xmldso">
<tbody>
<tr>
<td class="LabelSmall" nowrap><label class="LabelBold" LID="lbl41">Be<u>g</u>in Date:</label></td>
<td><input name="BeginDate" style="WIDTH: 100%" tabIndex="8" accessKey="g" DATAFLD="BeginDate" onKeypress="setDirty()" onBlur="checkDate()" LID="inp41" validator="isDate" required="true" L_NAME="BeginDate"></td></tr>
<tr>
<td class="LabelSmall" nowrap><label LID="lbl42"><u>E</u>nd Date:</label></td>
<td><input name="EndDate" style="WIDTH: 100%" tabIndex="9" accessKey="e" DATAFLD="EndDate" onKeypress="setDirty()" onBlur="checkDate()" LID="inp42" validator="isDate" L_NAME="EndDate"></td></tr>
<tr>
<td class="LabelSmall" nowrap><label LID="lbl43">Mee<u>t</u>ing Days:</label></td>
<td>
<table border="0" cellPadding="1" cellSpacing="1" width="100%">
<tr>
<td class="LabelXXSmall" width="1" nowrap><label for="chkMeetingDays0" LID="lbl44">Su</label></td>
<td class="LabelXXSmall" width="1" nowrap><label for="chkMeetingDays1" LID="lbl45">Mo</label></td>
<td class="LabelXXSmall" width="1" nowrap><label for="chkMeetingDays2" LID="lbl46">Tu</label></td>
<td class="LabelXXSmall" width="1" nowrap><label for="chkMeetingDays3" LID="lbl47">We</label></td>
<td class="LabelXXSmall" width="1" nowrap><label for="chkMeetingDays4" LID="lbl48">Th</label></td>
<td class="LabelXXSmall" width="1" nowrap><label for="chkMeetingDays5" LID="lbl49">Fr</label></td>
<td class="LabelXXSmall" width="1" nowrap><label for="chkMeetingDays6" LID="lbl50">Sa</label></td></tr>
<tr>
<td width="1" valign="top"><input id="chkMeetingDays0" name="chkMeetingDays0" type="checkbox" tabIndex="10" accessKey="t" onClick="setDirty()" LID="inp44"></td>
<td width="1" valign="top"><input id="chkMeetingDays1" name="chkMeetingDays1" type="checkbox" tabIndex="11" accessKey="t" onClick="setDirty()" checked LID="inp45"></td>
<td width="1" valign="top"><input id="chkMeetingDays2" name="chkMeetingDays2" type="checkbox" tabIndex="12" accessKey="t" onClick="setDirty()" checked LID="inp46"></td>
<td width="1" valign="top"><input id="chkMeetingDays3" name="chkMeetingDays3" type="checkbox" tabIndex="13" accessKey="t" onClick="setDirty()" checked LID="inp47"></td>
<td width="1" valign="top"><input id="chkMeetingDays4" name="chkMeetingDays4" type="checkbox" tabIndex="14" accessKey="t" onClick="setDirty()" checked LID="inp48"></td>
<td width="1" valign="top"><input id="chkMeetingDays5" name="chkMeetingDays5" type="checkbox" tabIndex="15" accessKey="t" onClick="setDirty()" checked LID="inp49"></td>
<td width="1" valign="top"><input id="chkMeetingDays6" name="chkMeetingDays6" type="checkbox" tabIndex="16" accessKey="t" onClick="setDirty()" LID="inp50"></td>
</tr></table></td></tr>
<tr>
<td class="LabelSmall" nowrap><label class="LabelBold" LID="lbl51">Beg<u>i</u>n Time:</label></td>
<td><input name="BeginTime" style="WIDTH: 100%" tabIndex="17" accessKey="i" DATAFLD="BeginTime" onKeypress="setDirty()" onBlur="checkTime()" LID="inp51" validator="isTime" required="true" L_NAME="BeginTime"></td></tr>
<tr>
<td class="LabelSmall" nowrap><label LID="lbl52">End
Ti<u>m</u>e:</label></td>
<td><input name="EndTime" style="WIDTH: 100%" tabIndex="18" accessKey="m" DATAFLD="EndTime" onKeypress="setDirty()" onBlur="checkTime()" LID="inp52" validator="isTime" L_NAME="EndTime"></td></tr>
</tbody>
</table></td>
</tr>
<tr>
<td></td>
<td>
<table width="100%">
<tr><td>
<table border="0" cellPadding="0" cellSpacing="2" width="100%">
<tr>
<td vAlign="top" width="33%">
<button id="cmdSubmit" type="submit" class="Button" tabIndex="19" style="WIDTH: 100%" LID="btn1">Change</button></td>
<td vAlign="top" width="33%">
<button type="reset" class="Button" tabIndex="20" style="WIDTH: 100%" DISABLED id="button1" name="button1" LID="btn2">New</button></td>
<td vAlign="top" width="33%">
<button class="Button" tabIndex="21" style="WIDTH: 100%" onClick="remove()" DISABLED id="button2" name="button2" LID="btn3">Delete</button></td></tr>
</table></td></tr>
<tr>
<td vAlign="top" width="100%">
<button class="Button" id="cmdActivityForm" tabIndex="22" style="WIDTH: 100%" onClick="viewActivityList()" DISABLED LID="btn4">
View Activity List</button></td></tr>
<tr>
<td vAlign="top" width="100%">
<button class="Button" id="cmdMemberForm" tabIndex="23" style="WIDTH: 100%" onClick="viewMembership()" DISABLED LID="btn5">
View Membership</button></td></tr>
</table></td>
</tr>
</table>
</form>
<iframe NAME="postIt" ID="postIt" FRAMEBORDER="1" NORESIZE SCROLLING="none" style="DISPLAY: none"></iframe>
</body>
</html>