Hi Jane,
I can suggest two solutions to this
1.Change the Check box names i.e while
generating the check boxes give names like
fund1,fund2,.....and a hidden field which holds the value of total number of check boxes , then you need to write a function(javascript) i think you won't prefer this.
2.Next soultion is (I am assuming that your from has only these check boxes(array))
use this javascript function
function checkEmpty()
{
var flag=true;
var len=eval("document.test.elements.length");
for(var i=0;i<len;i++)
{
if(document.test.elements.type=="checkbox")
{
if(document.test.elements.checked==false)
{
var j=i+1;
alert("You missed the question #"+j);
flag=flase;
break;
}
}
}
if(flag==true){ document.test.submit();}
}
call this function onClick="checkEmpty()"
Note: "test" is the form name.Replace "test" with your form name.
Hope this works........
Ajay