add condition to group form