Validate group form before submitting