By using listi.net you agree to our cookie policy, We and our partners operate globally and use cookies, for multiple purposes
   dbr983 : -2147217900 The INSERT INTO statement contains the following unknown field name: 'dt_accessed'. Make sure you have typed the name correctly, and try the operation again.insert into listaccess (dt_accessed,list_id,userid,ip_addr) values ('11/30/2021 10:27:45 AM',56351,-1,'54.165.57.161')

listi.net

 


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() {
  document.chk.submit();
}
</script>


<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
</form>
blog comments powered by Disqus
   
Home | About | Feedback| Privacy | Terms of Service | @alecberg | FAQ | | Copyright © 2021 All Rights Reserved. Edit
This site uses cookies. If you don't want cookies and who doesn't want them as they're yummy, then leave.