Fix validation error for checkboxs and radios