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
CJagannathCJagannath 

Implementing duplicate record validation

 

As we can’t override the (Salesforce) “save” button, is there any way to implement duplicate record validation?

 

In order to implement the same I went for a formula field which is formed by concatenating the values input by user in multiple fields. Then I tried to make the calculated filed unique but failed.

 

Please share your ideas. If the problem can’t be solved by this approach, any alternate idea will be most appreciated.

 

 

Regards,

Jagannath

benjasikbenjasik
until you can run apex triggers in production, your options are:

http://www.salesforce.com/appexchange/detail_overview.jsp?NavCode__c=&id=a0330000002ghd4AAA

You could also add a custom field  that has a unique constraint, and populate it using a workflow field update from another field.