Checkbox validation

Is there any way to validate several custom checkboxes (smart clips) to make sure that at least one is checked?

Please Help!

many ways to do that… if you want to make sure that one or more are checked, one way is to simply assign a numerical value to a variable. You can start with the variable at 0

myvalue=0

if a box is checked myvalue+=1.

later on, you can check to see if myvalue>=1 that way you will know if one or two or three boxes have been checked simply by checking on the value of your variable. Does that make sense?

Thanks, but I cannot change the variable to numerics. I need to use the true and false.

The database it is going to is very picky.

Is there a way that will work with code similar to:

on (press) {

if (!firstname.length) {
    loadMovie("fname-error.swf", 1);
} else if (!lastname.length) {
    loadMovie("lname-error.swf", 1);
} else if (isNan(day_telephone)) {
    loadMovie("phone-error.swf", 1);
} else if (!email.length || email.indexOf("@") == -1 || email.indexOf(".") == -1) {
    loadMovie("email-error.swf", 1);
} else {
    getURL("http://www.url...", "_blank", "POST");
}

}