validate group size before allowing submit