add active class on required boxes upon add custom field