Correct me if I am wrong, but IMHO DBGuy's answer is applicable only to VB.
Don't have a submit button; Instead have an ordinary button and call the submit() function, if everything is alright..
If the chkBox value is a number, onclick of that button, then use isNaN() function in Javascript/ or IsNull/IsNumeric in VBScript.
HTH Thank you...
RR