We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Alternate Emails and Phone Numbers validation

Received Response
33
Views
8
Comments
edited Apr 28, 2020 2:49PM in UI Extensibility 8 comments

Summary

Identification of alternate emails and phone numbers field names

Content

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!