I have 12 box&#039;s on my page. On submit I want to check and make sure that atleast ONE box is checked. I have tried to add this to my current validate function and I can&#039;t get it to work by checking the .checked. I found this function ( which I like) but I can&#039;t get it to work for me. Any ideas?<BR><BR>function validateChkBoxs()<BR>{<BR> var d =document.frmdataentry;<BR> for(var i=0;i&#060;d.elements.length;i++) <BR> {<BR> if(d.elements[i].type=="CHECKBOX" && d.elements[i].checked){return true}<BR> }<BR> alert("YOU MUST CHOOSE AN MR CODE!")<BR> return false;<BR>}<BR><BR><BR>