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
ZamieZamie 

hyperlink in error message

I need to make a validation scenario which, when fails should give an error message have a link to a particular visualforce page.

 

So basically need is to provide a hyperlink in case the error occurs in the edit page layout of a standard object like Account. 

 

A help will be much appreciated.

forecast_is_cloudyforecast_is_cloudy

You can't customize how errror messages are presented on standard Page Layouts. You'll have to replace the entire Page Layout with a custom VF page in order to meet your requirement.