Well here's a checkbox page I did for myself for reference that uses a few proprietary functions and and include but still it might give you some ideas (definitely no arrays):
<% Option Explicit
Response.Expires = -1000 ' Make browser not cache pg.
Response.Buffer = True ' Buffer content so Response.Redirect will work.
%>
<!--#include file="~inclmain.asp"-->
<% ' Dim var.
Dim Color
Dim Width
Color = Request.Form("Color")
Width = Request.Form("Width")
' Set default Color.
If Color = "" Then
Color = "Red"
End If
' Set default Width.
If Width = "" Then
Width = "Narrow"
End If
'!!!
Response.Write "<br>"
Response.Write "Color: " & Color & "<br><br>"
Response.Write "Width: " & Width & "<br><br>"
Response.Flush
%>
<html>
<head>
<meta name="robots" content="noindex,nofollow">
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<meta http-equiv="page-enter" content="revealTrans(duration=<%= mintTransitionSec %>,transition=<%= mintTransitionNum %>)">
<link rel="stylesheet" type="text/css" href="<%= mstrSiteMain %>/~incl/style.css">
<script type="text/javascript" src="<%= mstrSiteMain %>/~incl/jpsutility.
js"></script>
<script type="text/javascript" src="<%= mstrSiteMain %>/~incl/misc.
js"></script>
<script type="text/javascript">
</script>
<title>TEST</title>
</head>
<body>
<form id="frmMain" name="frmMain" action="<%= Request.ServerVariables("SCRIPT_NAME") %>" method="post">
Color - Uses jpsvbBoolToChecked():<br>
<% ' *** Color - Checkbox Buttons %>
<% ' *** Red - Checkbox Button %>
<input type="checkbox" name="Color" <%= jpsvbBoolToChecked(InStr(Color, "Red") > 0) %> value="Red" onclick="jpsjsSetUnsaved(true);">
Red<br>
<% ' *** Green - Checkbox Button %>
<input type="checkbox" name="Color" <%= jpsvbBoolToChecked(InStr(Color, "Green") > 0) %> value="Green" onclick="jpsjsSetUnsaved(true);">
Green<br>
<% ' *** Blue - Checkbox Button %>
<input type="checkbox" name="Color" <%= jpsvbBoolToChecked(InStr(Color, "Blue") > 0) %> value="Blue" onclick="jpsjsSetUnsaved(true);">
Blue<br>
<br>
Width - Does Not Use jpsvbBoolToChecked():<br>
<% ' *** Width - Checkbox Buttons %>
<% ' *** Narrow - Checkbox Button %>
<input type="checkbox" name="Width" <% If InStr(Width, "Narrow") > 0 Then Response.Write "checked" %> value="Narrow" onclick="jpsjsSetUnsaved(true);">
Narrow<br>
<% ' *** Wide - Radio Button %>
<input type="checkbox" name="Width" <% If InStr(Width, "Wide") > 0 Then Response.Write "checked" %> value="Wide" onclick="jpsjsSetUnsaved(true);">
Wide<br>
<br>
<% ' *** btnSave %>
<input type="submit" name="btnSave" value="Save">
</form>
</body>
</html>