add error hilight to generated fields when there are validation errors