Alternate Emails and Phone Numbers validation
Summary
Identification of alternate emails and phone numbers field namesContent
Usecase: When creating a contact the client wants to make EITHER the Phone Number OR the Email Address field required (but not both)
because it is possible that some customers will only have an email or only have a phone number.
Initial Approach: Tried Workspace Rule but for some reason neither Email Addresses field nor Phone Number fields were accessible. (Refer the attached image)So, I had to go for an extension option.
Issue Description: I'm able to achieve this functionality only for Primary Email Address and Office Phone. (As from the workspace if I 'Show Details' for Email Addresses it says Contact.Email and for all the Phone Number types it says Contact.PhOffice), now when I enter an email in the Primary Email ID the Phone Number becomes optional and similarly If I enter any value in the Office Phone the Email becomes optional but when I enter a value in Email Alt 1 or Email Alt 2 the Email field still shows required, similarly if I enter any value in any other Phone Types