You need to sign in to do that
Don't have an account?
vibration
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..............
Hi,
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)
{
chekforcustoobject__c cc=trigger.new[0];
if(cc.name=='ankit')
{
cc.name.addError('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.