add class to control group based on field name