I guess you're relying on client side validation here for better messaging? Otherwise you'd definitely want to split this into separate error messages.