Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

Contact Matching on Multiple Email Addresses

Posted on by

Is there a way to setup contact matching on forms to check for multiple email addresses?

We have contacts who have multiple aliases for the same email address (ex: john.doe@company.com and jd123@company.com). The contact record may have jd123@company.com in the  primary email field and john.doe@company.com in the Email 2 field. If the customer completes a form and enters john.doe@company.com, I would like for the system to check both email fields before creating a new contact.

  • Megancs98 Profile Picture
    Megancs98 61 on at
    Contact Matching on Multiple Email Addresses
    Hello @Haig Liu 
    Can you please explain this a little more to me. I don't quite understand how the system will be able to check if the email address they have entered, matches one of the two emails on the contact. 
     
    Thank you
  • Suggested answer
    Haig Liu Profile Picture
    Haig Liu Microsoft Employee on at
    RE: Contact Matching on Multiple Email Addresses

    I think you need to change the HTML for the form:

    1.Create two email text ,the second one set “Hide field” on and mapping emailaddress2:

     pastedimage1666176411250v1.png

    2.open HTML write a function like this:

    function copy(){

        document.all["email2"].value=document.all["email1"].value;

    }

    Email1 and email2 are email code block “id”, they have the same value as the one after "for":

    pastedimage1666176439742v2.png

    Don't forget to include the JS header file if you are going to use the JS language.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans