You need to sign in to do that
Don't have an account?
Ankur Srivastava
Anyway to generate custom error message for a unique field ?
Can I change the error message displayed below for a unique field ?
duplicate value found: CHW_Member_Number__c duplicates value on record with id: <RecId>
the above message is not user friendly.
duplicate value found: CHW_Member_Number__c duplicates value on record with id: <RecId>
the above message is not user friendly.
That is not not possible.
If you are using VF page better go for apex:pagemessages else trigger is the only option to customize error message.
Mark it as solved if it helps.
Thanks.