Salve ragazzi, ho un piccolo problemino, con questo script convalido l'inserimento dei campi in un form:

<script Language="JavaScript">
<!--
function Form1_Validator(theForm)
{
if (theForm.firstname.value == "")
{
alert("Inserisci il nome della tua Azienda!");
theForm.firstname.focus();
return (false);
}
if (theForm.lastname.value == "")
{
alert("Inserisci la partita Iva!");
theForm.firstname.focus();
return (false);
}
if (theForm.username.value == "")
{
alert("Inserisci il tuo Username!");
theForm.firstname.focus();
return (false);
}
if (theForm.email.value == "")
{
alert("Inserisci la tua Email! ");
theForm.email.focus();
return (false);
}
if (theForm.password.value == "")
{
alert("Inserisci la Password!");
theForm.email.focus();
return (false);
}
if (theForm.password.value != theForm.confirm.value)
{
alert("Le Password inserite non coincidono!");
theForm.confirm.focus();
return (false);





}
}

//--></script>

non riesco ad inserire il codice per convalidare anche un checkbox! come posso implementarlo?

Grazie Mille
Gianluca