add error callback to checkbox group