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
Shiva SFDeveloperShiva SFDeveloper 

Change the Trigger error message header

Hi,

I am looking for any possible way/option to change the Tigger header from "Error" to my custom heading.

User-added image

I am using the Trigger adderror() method to basically stop the current flow and display a html message in it. User will navigate to another page by the URL in the HTML message.

Now, everything is going fine and it's just the header message that is showing as "Error". I want to display a custom message over there..

Any pointers would be greatly appreciated..

Thanks in advance!!
Shiva
Sonam_SFDCSonam_SFDC
Shiva,

When using Adderror() - don't think there is a way to change the header of the error popup, however, I did come across this interesting thread which talks about bring up Alert messages on a page - which might be helpful..
https://developer.salesforce.com/forums/ForumsMain?id=906F00000008yBMIAY