Susan Faul
asked on
Using ASP, Dreamweaver CS3, and Javascript, doing a form validation, get alert message but form submits anyway. What am I missing?
I have several text boxes to enter names, and checkboxes to select an age group for that name. I need to validate that at least 1 checkbox is selected if a name is entered. I started Javascript with just a simple check to test this. Even though my validation fails and I get the alert box, I click the ok button on the alert box and the form submits anyway. What am I missing? I've attached the code.
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!--#include file="cn_PicnicSQLLogin.asp" -->
<!--#include file="cn_EmployeeSQLLogin.asp" -->
<%
Dim MM_editAction
MM_editAction = CStr(Request.ServerVariables("SCRIPT_NAME"))
If (Request.QueryString <> "") Then
MM_editAction = MM_editAction & "?" & Server.HTMLEncode(Request.QueryString)
End If
' boolean to abort record edit
Dim MM_abortEdit
MM_abortEdit = false
%>
<%
' IIf implementation
Function MM_IIf(condition, ifTrue, ifFalse)
If condition = "" Then
MM_IIf = ifFalse
Else
MM_IIf = ifTrue
End If
End Function
%>
<%
If (CStr(Request("MM_insert")) = "PicnicSignup") Then
If (Not MM_abortEdit) Then
' execute the insert
Dim MM_editCmd
Set MM_editCmd = Server.CreateObject ("ADODB.Command")
MM_editCmd.ActiveConnection = MM_cn_PicnicSQLLogin_STRING
MM_editCmd.CommandText = "INSERT INTO dbo.[Picnic Main] ([Employee Name], Attending, [Spouse Name], AName, AUnder, AMiddle, AOver, FName, FUnder, FMiddle, FOver, BName, BUnder, BMiddle, BOver, GName, GUnder, GMiddle, GOver, CName, CUnder, CMiddle, COver, HName, HUnder, HMiddle, HOver, DName, DUnder, DMiddle, DOver, IName, IUnder, IMiddle, IOver, EName, EUnder, EMiddle, EOver, JName, JUnder, JMiddle, JOver, AOther, AOtherUnder, AOtherMiddle, AOtherOver, COther, COtherUnder, COtherMiddle, COtherOver, BOther, BOtherUnder, BOtherMiddle, BOtherOver, DOther, DOtherUnder, DOtherMiddle, DOtherOver, [Deviled Eggs], [Fruit Salad], Dessert, [Help Set Up], [Grill Noon], [Grill One], [Grill Two], [Grill Three], [Grill Four], [Grill Five], [Grill Anytime], [Camera Noon], [Camera One], [Camera Two], [Camera Three], [Camera Four], [Camera Five], [Camera Anytime], [Additional Information]) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"
MM_editCmd.Prepared = true
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param1", 201, 1, 150, Request.Form("hldEmpName")) ' adLongVarChar
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param2", 201, 1, 150, Request.Form("attend")) ' adLongVarChar
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param3", 201, 1, 100, Request.Form("spouse")) ' adLongVarChar
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param4", 201, 1, 50, Request.Form("a_name")) ' adLongVarChar
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param5", 5, 1, -1, MM_IIF(Request.Form("a_under"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param6", 5, 1, -1, MM_IIF(Request.Form("a_middle"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param7", 5, 1, -1, MM_IIF(Request.Form("a_over"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param8", 201, 1, 50, Request.Form("f_name")) ' adLongVarChar
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param9", 5, 1, -1, MM_IIF(Request.Form("f_under"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param10", 5, 1, -1, MM_IIF(Request.Form("f_middle"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param11", 5, 1, -1, MM_IIF(Request.Form("f_over"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param12", 201, 1, 50, Request.Form("b_name")) ' adLongVarChar
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param13", 5, 1, -1, MM_IIF(Request.Form("b_under"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param14", 5, 1, -1, MM_IIF(Request.Form("b_middle"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param15", 5, 1, -1, MM_IIF(Request.Form("b_over"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param16", 201, 1, 50, Request.Form("g_name")) ' adLongVarChar
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param17", 5, 1, -1, MM_IIF(Request.Form("g_under"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param18", 5, 1, -1, MM_IIF(Request.Form("g_middle"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param19", 5, 1, -1, MM_IIF(Request.Form("g_over"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param20", 201, 1, 50, Request.Form("c_name")) ' adLongVarChar
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param21", 5, 1, -1, MM_IIF(Request.Form("c_under"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param22", 5, 1, -1, MM_IIF(Request.Form("c_middle"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param23", 5, 1, -1, MM_IIF(Request.Form("c_over"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param24", 201, 1, 50, Request.Form("h_name")) ' adLongVarChar
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param25", 5, 1, -1, MM_IIF(Request.Form("h_under"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param26", 5, 1, -1, MM_IIF(Request.Form("h_middle"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param27", 5, 1, -1, MM_IIF(Request.Form("h_over"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param28", 201, 1, 50, Request.Form("d_name")) ' adLongVarChar
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param29", 5, 1, -1, MM_IIF(Request.Form("d_under"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param30", 5, 1, -1, MM_IIF(Request.Form("d_middle"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param31", 5, 1, -1, MM_IIF(Request.Form("d_over"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param32", 201, 1, 50, Request.Form("i_name")) ' adLongVarChar
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param33", 5, 1, -1, MM_IIF(Request.Form("i_under"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param34", 5, 1, -1, MM_IIF(Request.Form("i_middle"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param35", 5, 1, -1, MM_IIF(Request.Form("i_over"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param36", 201, 1, 50, Request.Form("e_name")) ' adLongVarChar
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param37", 5, 1, -1, MM_IIF(Request.Form("e_under"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param38", 5, 1, -1, MM_IIF(Request.Form("e_middle"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param39", 5, 1, -1, MM_IIF(Request.Form("e_over"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param40", 201, 1, 50, Request.Form("j_name")) ' adLongVarChar
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param41", 5, 1, -1, MM_IIF(Request.Form("j_under"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param42", 5, 1, -1, MM_IIF(Request.Form("j_middle"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param43", 5, 1, -1, MM_IIF(Request.Form("j_over"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param44", 201, 1, 50, Request.Form("a_other")) ' adLongVarChar
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param45", 5, 1, -1, MM_IIF(Request.Form("a_other_under"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param46", 5, 1, -1, MM_IIF(Request.Form("a_other_middle"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param47", 5, 1, -1, MM_IIF(Request.Form("a_other_over"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param48", 201, 1, 50, Request.Form("c_other")) ' adLongVarChar
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param49", 5, 1, -1, MM_IIF(Request.Form("c_other_under"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param50", 5, 1, -1, MM_IIF(Request.Form("c_other_middle"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param51", 5, 1, -1, MM_IIF(Request.Form("c_other_over"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param52", 201, 1, 50, Request.Form("b_other")) ' adLongVarChar
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param53", 5, 1, -1, MM_IIF(Request.Form("b_other_under"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param54", 5, 1, -1, MM_IIF(Request.Form("b_other_middle"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param55", 5, 1, -1, MM_IIF(Request.Form("b_other_over"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param56", 201, 1, 50, Request.Form("d_other")) ' adLongVarChar
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param57", 5, 1, -1, MM_IIF(Request.Form("d_other_under"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param58", 5, 1, -1, MM_IIF(Request.Form("d_other_middle"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param59", 5, 1, -1, MM_IIF(Request.Form("d_other_over"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param60", 5, 1, -1, MM_IIF(Request.Form("deviledEggs"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param61", 5, 1, -1, MM_IIF(Request.Form("fruitSalad"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param62", 5, 1, -1, MM_IIF(Request.Form("dessert"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param63", 5, 1, -1, MM_IIF(Request.Form("setupY"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param64", 5, 1, -1, MM_IIF(Request.Form("grillN"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param65", 5, 1, -1, MM_IIF(Request.Form("grill_one"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param66", 5, 1, -1, MM_IIF(Request.Form("grill_two"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param67", 5, 1, -1, MM_IIF(Request.Form("grill_three"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param68", 5, 1, -1, MM_IIF(Request.Form("grill_four"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param69", 5, 1, -1, MM_IIF(Request.Form("grill_five"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param70", 5, 1, -1, MM_IIF(Request.Form("anytime"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param71", 5, 1, -1, MM_IIF(Request.Form("shiftN"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param72", 5, 1, -1, MM_IIF(Request.Form("shift_one"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param73", 5, 1, -1, MM_IIF(Request.Form("pic-two"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param74", 5, 1, -1, MM_IIF(Request.Form("pic_three"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param75", 5, 1, -1, MM_IIF(Request.Form("pic_four"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param76", 5, 1, -1, MM_IIF(Request.Form("pic_five"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param77", 5, 1, -1, MM_IIF(Request.Form("cameraAnytime"), 1, 0)) ' adDouble
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param78", 201, 1, 250, Request.Form("additionalInfo")) ' adLongVarChar
MM_editCmd.Execute
MM_editCmd.ActiveConnection.Close
' append the query string to the redirect URL
Dim MM_editRedirectUrl
MM_editRedirectUrl = "form_submittal.html"
If (Request.QueryString <> "") Then
If (InStr(1, MM_editRedirectUrl, "?", vbTextCompare) = 0) Then
MM_editRedirectUrl = MM_editRedirectUrl & "?" & Request.QueryString
Else
MM_editRedirectUrl = MM_editRedirectUrl & "&" & Request.QueryString
End If
End If
Response.Redirect(MM_editRedirectUrl)
End If
End If
%>
<%
Dim hldLogin
hldLogin = Request.ServerVariables("auth_user")
%>
<%
Dim rsEmpNames
Dim rsEmpNames_cmd
Dim rsEmpNames_numRows
Set rsEmpNames_cmd = Server.CreateObject ("ADODB.Command")
rsEmpNames_cmd.ActiveConnection = MM_cn_EmployeeSQLLogin_STRING
rsEmpNames_cmd.CommandText = "SELECT [Employee Name] FROM dbo.[Employee Table] WHERE [Login Name] = '" & hldLogin & "'"
rsEmpNames_cmd.Prepared = true
Set rsEmpNames = rsEmpNames_cmd.Execute
rsEmpNames_numRows = 0
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Annual Picnic Signup</title>
<link href="picnic.css" rel="stylesheet" type="text/css" />
<SCRIPT LANGUAGE="JavaScript">
function verify() {
if (document.PicnicSignup.a_name.value == "") {
alert("Help") ;
return false;
}
return true;
}
</script>
<style type="text/css">
<!--
.style1 {font-size: 14px}
-->
</style>
</head>
<body onLoad="toForm()">
<div id="picnicHolder">
<div align="center"><img src="Assets/picnic.png" />
</div>
<form ACTION="<%=MM_editAction%>" METHOD="POST" id="PicnicSignup" name="PicnicSignup" >
<div class="name">
<table width="100" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="documentTextID">Name:
<input style="background-color:#CCCCCC" name="hldEmpName" readonly="readonly" type="text" value="<%=(rsEmpNames.Fields.Item("Employee Name").Value)%>"/>
</td>
<!--<td class="documentTextTD">
Select your name from the drop down list:
<select tabindex="1" name="EmpName" title="<%=(rsEmpNames.Fields.Item("Employee Name").Value)%>">
<option value=""> </option>
<%
While (NOT rsEmpNames.EOF)
%>
<option value="<%=(rsEmpNames.Fields.Item("Employee Name").Value)%>"><%=(rsEmpNames.Fields.Item("Employee Name").Value)%></option>
<%
rsEmpNames.MoveNext()
Wend
If (rsEmpNames.CursorType > 0) Then
rsEmpNames.MoveFirst
Else
rsEmpNames.Requery
End If
%>
</select>
</td>-->
</tr>
<tr>
<td class="documentTextTD">
<input name="attend" type="radio" id="attendY" value="Yes" tabindex="2" />
Yes, I will be attending.</td>
</tr>
<tr>
<td class="documentTextTD">
<input type="radio" name="attend" id="attendN" value="No" tabindex="3"/>
No, I will not be attending.</td>
</tr>
</table>
</div>
<div class="guest">
<table width="100" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="11" class="headingTD"> Guest Names</td>
</tr>
<tr>
<td width="80" class="wordRightTD">Spouse:</td>
<td width="155"><input type="text" name="spouse" id="spouse" tabindex="4" /></td>
<td width="50"> </td>
<td width="50"> </td>
<td width="50"> </td>
<td width="47"> </td>
<td width="153"> </td>
<td width="48"> </td>
<td width="50"> </td>
<td width="50"> </td>
<td width="47"> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td class="specialTD">Under <br />
3 yrs.</td>
<td class="specialTD">3-12 <br />
yrs.</td>
<td class="specialTD">13 yrs.<br />
& over</td>
<td> </td>
<td> </td>
<td class="specialTD">Under<br />
3 yrs.</td>
<td class="specialTD">3-12<br />
yrs.</td>
<td class="specialTD">13 yrs.<br /> & over</td>
<td> </td>
</tr>
<tr>
<td class="wordRightTD">Children:</td>
<td><input type="text" name="a_name" id="a_name" tabindex="5" /></td>
<td class="specialTD">
<input type="checkbox" name="a_under" id="a_under" tabindex="6" /> </td>
<td class="specialTD"><input type="checkbox" name="a_middle" id="a_middle" tabindex="7" /></td>
<td class="specialTD"><input type="checkbox" name="a_over" id="a_over" tabindex="8" /></td>
<td> </td>
<td><input type="text" name="f_name" id="f_name" tabindex="25" /></td>
<td class="specialTD"><input type="checkbox" name="f_under" id="f_under" tabindex="26" /></td>
<td class="specialTD"><input type="checkbox" name="f_middle" id="f_middle" tabindex="27" /></td>
<td class="specialTD"><input type="checkbox" name="f_over" id="f_over" tabindex="28" /></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td><input type="text" name="b_name" id="b_name" tabindex="9" /></td>
<td class="specialTD"><input type="checkbox" name="b_under" id="b_under" tabindex="10" /></td>
<td class="specialTD"><input name="b_middle" type="checkbox" class="specialTD" id="b_middle" tabindex="11" /></td>
<td class="specialTD"><input type="checkbox" name="b_over" id="b_over" tabindex="12" /></td>
<td> </td>
<td><input type="text" name="g_name" id="g_name" tabindex="29"/></td>
<td class="specialTD"><input type="checkbox" name="g_under" id="g_under" tabindex="30" /></td>
<td class="specialTD"><input type="checkbox" name="g_middle" id="g_middle" tabindex="31" /></td>
<td class="specialTD"><input type="checkbox" name="g_over" id="g_over" tabindex="32" /></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td><input type="text" name="c_name" id="c_name" tabindex="13" /></td>
<td class="specialTD"><input type="checkbox" name="c_under" id="c_under" tabindex="14" /></td>
<td class="specialTD"><input type="checkbox" name="c_middle" id="c_middle" tabindex="15" /></td>
<td class="specialTD"><input type="checkbox" name="c_over" id="c_over" tabindex="16" /></td>
<td class="specialTD"> </td>
<td><input type="text" name="h_name" id="h_name" tabindex="33" /></td>
<td class="specialTD"><input type="checkbox" name="h_under" id="h_under" tabindex="34" /></td>
<td class="specialTD"><input type="checkbox" name="h_middle" id="h_middle" tabindex="35" /></td>
<td class="specialTD"><input name="h_over" type="checkbox" id="h_over" tabindex="36" /></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td><input type="text" name="d_name" id="d_name" tabindex="17" /></td>
<td class="specialTD"><input type="checkbox" name="d_under" id="d_under" tabindex="18" /></td>
<td class="specialTD"><input type="checkbox" name="d_middle" id="d_middle" tabindex="19" /></td>
<td class="specialTD"><input type="checkbox" name="d_over" id="d_over" tabindex="20" /></td>
<td> </td>
<td><input type="text" name="i_name" id="i_name" tabindex="37" /></td>
<td class="specialTD"><input type="checkbox" name="i_under" id="i_under" tabindex="38" /></td>
<td class="specialTD"><input type="checkbox" name="i_middle" id="i_middle" tabindex="39" /></td>
<td class="specialTD"><input type="checkbox" name="i_over" id="i_over" tabindex="40" /></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td><input type="text" name="e_name" id="e_name" tabindex="21" /></td>
<td class="specialTD"><input type="checkbox" name="e_under" id="e_under" tabindex="22" /></td>
<td class="specialTD"><input type="checkbox" name="e_middle" id="e_middle" tabindex="23" /></td>
<td class="specialTD"><input type="checkbox" name="e_over" id="e_over" tabindex="24" /></td>
<td> </td>
<td><input type="text" name="j_name" id="j_name" tabindex="41" /></td>
<td class="specialTD"><input type="checkbox" name="j_under" id="j_under" tabindex="42" /></td>
<td class="specialTD"><input type="checkbox" name="j_middle" id="j_middle" tabindex="43" /></td>
<td class="specialTD"><input type="checkbox" name="j_over" id="j_over" tabindex="44" /></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td class="specialTD"> </td>
<td class="specialTD"> </td>
<td class="specialTD"> </td>
<td> </td>
<td> </td>
<td class="specialTD"> </td>
<td class="specialTD"> </td>
<td class="specialTD"> </td>
<td> </td>
</tr>
<tr>
<td class="wordRightTD">Other:</td>
<td><input type="text" name="a_other" id="a_other" tabindex="45"/></td>
<td class="specialTD"><input type="checkbox" name="a_other_under" id="a_other_under" tabindex="46" /></td>
<td class="specialTD"><input type="checkbox" name="a_other_middle" id="a_other_middle" tabindex="47" /></td>
<td class="specialTD"><input type="checkbox" name="a_other_over" id="a_other_over" tabindex="48" /></td>
<td> </td>
<td><input type="text" name="c_other" id="c_other" tabindex="53"/></td>
<td class="specialTD"><input type="checkbox" name="c_other_under" id="c_other_under" tabindex="54" /></td>
<td class="specialTD"><input type="checkbox" name="c_other_middle" id="c_other_middle" tabindex="55" /></td>
<td class="specialTD"><input type="checkbox" name="c_other_over" id="c_other_over" tabindex="56" /></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td><input type="text" name="b_other" id="b_other" tabindex="49"/></td>
<td class="specialTD"><input type="checkbox" name="b_other_under" id="b_other_under" tabindex="50" /></td>
<td class="specialTD"><input type="checkbox" name="b_other_middle" id="b_other_middle" tabindex="51" /></td>
<td class="specialTD"><input type="checkbox" name="b_other_over" id="b_other_over" tabindex="52" /></td>
<td> </td>
<td><input type="text" name="d_other" id="d_other" tabindex="57" /></td>
<td class="specialTD"><input type="checkbox" name="d_other_under" id="d_other_under" tabindex="58" /></td>
<td class="specialTD"><input type="checkbox" name="d_other_middle" id="d_other_middle" tabindex="59" /></td>
<td class="specialTD"><input type="checkbox" name="d_other_over" id="d_other_over" tabindex="60" /></td>
<td> </td>
</tr>
</table>
</div>
<div class="food">
<table width="100" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="5" class="headingTD"><img src="Assets/salad.png" alt="food basket" /> Food Sign-up</td>
</tr>
<tr>
<td class="textCenterTD" />
The company will provide all other side dishes.
<br /></td>
</tr>
<tr>
<td width="86" class="documentTextTD"></td>
<td width="259" class="documentTextTD"><input type="checkbox" name="deviledEggs" id="deviledEggs" tabindex="61" />
Deviled Eggs</td>
<td width="223" class="documentTextTD"><input type="checkbox" name="fruitSalad" id="fruitSalad" tabindex="62" />
Fruit Salad</td>
<td width="212" class="documentTextTD"><input type="checkbox" name="dessert" id="dessert" tabindex="64" />
Dessert</td>
</tr></table>
</div>
<div class="setup">
<table><tr>
<td colspan="4" class="headingTD"><img src="Assets/basket.png" /> Setup Volunteers</td>
</tr>
<tr>
<td colspan="4" class="textCenterTD">Will you help set up Saturday morning (day of picnic), 9:00 a.m. - 12:00 noon?
<input type="checkbox" name="setupY" id="setupY" tabindex="65" />
Yes</td>
</tr>
</table></div>
<div class="grill">
<table width="100" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="7" class="headingTD"><img src="Assets/grill.png" /> Grill Volunteers </td>
</tr>
<tr>
<td colspan="7" class="textCenterTD"> </td>
</tr>
<tr>
<td colspan="7" class="textCenterTD">If you can help grill, please check the preferred shift (4 grillers per one hour shift):</td>
</tr>
<tr>
<td class="documentTextTD"><input type="checkbox" name="grillN" id="grillN" tabindex="67" />
12:00 Noon</td>
<td class="documentTextTD"><input type="checkbox" name="grill_one" id="grill_one" tabindex="68" />
1:00 p.m.</td>
<td class="documentTextTD"><input type="checkbox" name="grill_two" id="grill_two" tabindex="69" />
2:00 p.m.</td>
<td class="documentTextTD"><input type="checkbox" name="grill_three" id="grill_three" tabindex="70" />
3:00 p.m.</td>
<td class="documentTextTD"><input type="checkbox" name="grill_four" id="grill_four" tabindex="71" />
4:00 p.m.</td>
<td class="documentTextTD"><input type="checkbox" name="grill_five" id="grill_five" tabindex="72" />
5:00 p.m.</td>
<td class="documentTextTD"><input type="checkbox" name="anytime" id="anytime" tabindex="73"/>
Anytime</td>
</tr></table>
</div>
<div class="volunteer">
<table><tr>
<td colspan="7" class="headingTD"><img src="Assets/camera.png" /> Camera Volunteers<br /></td>
</tr>
<tr>
<td colspan="7" class="textCenterTD">If you can help take pictures, please check preferred shift (one hour shift):</td>
</tr>
<tr>
<td class="documentTextTD"><input type="checkbox" name="picN" id="shiftN" tabindex="74" />
12:00 Noon</td>
<td class="documentTextTD"><input type="checkbox" name="pic_one" id="shift_one" tabindex="75" />
1:00 p.m.</td>
<td class="documentTextTD"><input type="checkbox" name="pic-two" id="pic-two" tabindex="76" />
2:00 p.m.</td>
<td class="documentTextTD"><input type="checkbox" name="pic_three" id="pic_three" tabindex="77" />
3:00 p.m.</td>
<td class="documentTextTD"><input type="checkbox" name="pic_four" id="pic_four" tabindex="78" />
4:00 p.m.</td>
<td class="documentTextTD"><input type="checkbox" name="pic_five" id="pic_five" tabindex="79" />
5:00 p.m.</td>
<td class="documentTextTD"><input type="checkbox" name="cameraAnytime" id="cameraAnytime" tabindex="80" />
Anytime</td>
</tr>
<tr>
<td class="documentTextTD"> </td>
<td class="documentTextTD"> </td>
<td class="documentTextTD"> </td>
<td class="documentTextTD"> </td>
<td class="documentTextTD"> </td>
<td colspan="2" class="documentTextTD"> </td>
</tr>
<tr>
<td colspan="7" class="textCenterTD"><strong>Additional Notes/Comments</strong><br />
<textarea name="additionalInfo" id="additionalInfo" cols="45" rows="10" tabindex="81"></textarea>
<br />
<br /></td>
</tr>
<tr>
<td colspan="7" class="textCenterTD"><input type="submit" name="button" id="button" value="Send my information!" tabindex="82" onclick="verify();" /></td>
</tr>
</table>
</div>
<input type="hidden" name="MM_insert" value="PicnicSignup" />
</form>
</div>
<script type="text/javascript">
<!--
//-->
</script>
</body>
</html>
<%
rsEmpNames.Close()
Set rsEmpNames = Nothing
%>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER