Checkboxes in ASP

To use checkboxes in ASP you need to have the following:

If the checkbox is checked the value is returned, otherwise empty is returned.

Create first file called chktest.htm with the following:

<script language="Javascript">
function Subit() {

<form  method="Post" name="chk" action="programtorun.asp?param=1234">
<input type="checkbox" name="option1" value="1" checked onClick="Subit()">
<a href="PublicListHelp.asp">Public List</a>
<input type="checkbox" name="option2" value="1" onClick="Subit()">Public can Add