When a user tries to submit a new member with an empty email field, the error message that shows is 'unknown'. Instead, we can add an error message that states that emails cannot be empty or that they cannot be in this format.
Just for reference, the way adding a new group handles this case is by showing 'Error: Group name cannot be in this format'.
When a user tries to submit a new member with an empty email field, the error message that shows is 'unknown'. Instead, we can add an error message that states that emails cannot be empty or that they cannot be in this format.
Just for reference, the way adding a new group handles this case is by showing 'Error: Group name cannot be in this format'.