The problem is validation , but do you want validate only one radio/checkbox or group of them, because if it this a group you have validate length for know if at least one checkbox is checked or none one.
if none one is checked , method continue with try/catch and add class highlight to all of them -- Atte. Carlos Becar.