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
BigThorBigThor 

How I can show error message in page layout ?

Hello,

 

I have a trigger for validate EAN code, and I need show error message in page layout, how I can ?

 

Thanks for all

 

Saludos !

AshishyadavAshishyadav
you need to have a VF page to show the error
AJSFDCAJSFDC

you can use adderror to display error in trigger. Please check the below link.

 

http://boards.developerforce.com/t5/Apex-Code-Development/Salesforce-trigger-addError-method/td-p/310045