Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Contact Matching on Multiple Email Addresses

(0) ShareShare
ReportReport
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
    64 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
    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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Holly Huffman Profile Picture

Holly Huffman 103

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 96 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 51 Most Valuable Professional

Product updates

Dynamics 365 release plans