I have made a medical record application that allows someone to record data about someone, but the application also allows us to add the data of a relative. So basically you can have a tab for the main user, and a tab for a relative like the spouse and enter them at the same time, because of this, all error prompt must indicate to the user in which tab the error occurred. So for example:
The last name can only contain alphanumeric characters (tab: Robert).
The problem with the above is that it looks weird, so I am wondering if there's a better way for it. I have never used an application that indicates in which tab an error occurred, so I have no idea what format I should use for the error prompt.