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

How to show trigger error message in customer portal?

i used adderror in trigger  ,it is not displayed incustomer portal. I want to show  error message in  customerportal..plz send it..............




I have created the following trigger in system admin profile on a custom object. trigger works fine in the customer portal and also print the error .


trigger checkbeforeinsert on chekforcustoobject__c (before insert)
    {'you can insert this name');


Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.