You need to sign in to do that
Don't have an account?
mohammed king
fin tri
write a trigger to prevent duplicate contact with email on selected account trigger should throw exception and also when duplicate contact is inserted ext
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
This apex trigger prevents the user from creating duplicate contacts when a contact already exists with the same Email
I suggest to visit this link, it will help you
https://www.syedtaha.com/salesforce-apex-triggers/salesforce-apex-trigger-to-prevent-duplicate-contacts-by-email-or-phone-number/897/
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Deepali Kulshrestha.