gilgalbiblewhee
07-19-2004, 10:04 AM
How is it possible to include checkboxes within a radio form? so that when that radio is enabled the checkbox list opens. And when another radio is chosen the checkbox list is disabled. Here is my sample:
(in html but it has a ASP response page)
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
<title>Search for the Bible</title>
</head>
<body>
<form action="FormBibleRespond.asp" method="post">
<p>Where do you want to search?</p>
<form>
<input type="radio" name="selection" value="entire"> Search the entire King James Bible
<br>
<input type="radio" name="selection" value="notentire"> Select your search
<table border="1" width="100%" height="100">
<tr>
<td width="33%" height="19">
<input TYPE="checkbox" NAME="Genesis" CHECKED>Genesis</td>
<td width="33%" height="19"><input TYPE="checkbox" NAME="Isaiah" CHECKED>Isaiah</td>
<td width="33%" height="19"><input TYPE="checkbox" NAME="Romans" CHECKED>Romans</td>
</tr>
<tr>
<td width="33%" height="19"><input TYPE="checkbox" NAME="Exodus">Exodus</td>
<td width="33%" height="19"><br>
<input TYPE="checkbox" NAME="Jeremiah">Jeremiah<br>
</td>
<td width="33%" height="19"><input TYPE="checkbox" NAME="1 Corinthians">1 Corinthians<br>
</td>
</tr>
</table>
</body>
</html>
(in html but it has a ASP response page)
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
<title>Search for the Bible</title>
</head>
<body>
<form action="FormBibleRespond.asp" method="post">
<p>Where do you want to search?</p>
<form>
<input type="radio" name="selection" value="entire"> Search the entire King James Bible
<br>
<input type="radio" name="selection" value="notentire"> Select your search
<table border="1" width="100%" height="100">
<tr>
<td width="33%" height="19">
<input TYPE="checkbox" NAME="Genesis" CHECKED>Genesis</td>
<td width="33%" height="19"><input TYPE="checkbox" NAME="Isaiah" CHECKED>Isaiah</td>
<td width="33%" height="19"><input TYPE="checkbox" NAME="Romans" CHECKED>Romans</td>
</tr>
<tr>
<td width="33%" height="19"><input TYPE="checkbox" NAME="Exodus">Exodus</td>
<td width="33%" height="19"><br>
<input TYPE="checkbox" NAME="Jeremiah">Jeremiah<br>
</td>
<td width="33%" height="19"><input TYPE="checkbox" NAME="1 Corinthians">1 Corinthians<br>
</td>
</tr>
</table>
</body>
</html>