I think that you are probably using a microflow to validate the fields. In one of your validation feedback actions you might have set the wrong memeber to show the validation message for.
Look at the validation feedback message actions, make sure the messages are more specific. Its a better practice to state “The username is required’” that a generic message “This field is required”, this will also help in finding the error in the code.