added form-level validations to radio buttons