Added working examples for form validation of checkbox and radio button groups.