Workspace Addin Pops Message Box Twice
I have a Workspace Addin that checks to see if the Office Phone Number is a valid phone number for a Contact record. If it is not, I pop a Message Box telling the agent what is wrong. This validation is done when the Contact Workspace is "Saving". In testing, I am seeing the Message Box pop twice but it should only pop once.
Also, I would rather not pop a Message Box but instead change some text on the Workspace itself with the error messages but I am not sure how I reference an individual text area on the Workspace in my code. Any help would be greatly appreciated.