function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
DipthiDipthi 

How can I stop Users giving same Website name in different formats

Hi

I have Matching Rules on Website field but, it doesn't work as Users some time feed Website filed as www.test.com (or) https://www.test.com   (or)  test.com

Is there any other way to avoid this situation?

Sai PraveenSai Praveen (Salesforce Developers) 
Hi Dipthi,

You may need to create a Trigger for that to work. In the Before context you may need to query all the records which contains the domain name and fire the validation from the trigger.

If this solution helps, Please mark it as best answer.

Thansk,