You need to sign in to do that
Don't have an account?

Put URL or HTML in Validation Rule
Hi,
I need to put a hyperlink to a VF page, or a URL in the error message for a validation rule. Please help me if anyone of you has done this or have some ideas which can achieve this.
Thanks
Sumit
Hi Sumit,
Unfortunately your requirement can't be achieved since the error message of Validation rules show the message as text.
In the Error message is you specify http://www.google.com/ or <a href="http://www.google.com/"> Click here </a>, then it will be specified exactly as text message, it will not provide any hyperlink functionality.
Ii would suggest you to create a visualforce page and with <apex:pageMessages/> displays any error with any hyperlink.
Refer: http://salesforce.stackexchange.com/questions/8895/inserting-a-link-in-an-apexpages-message
http://boards.developerforce.com/t5/Visualforce-Development/Display-a-link-in-an-error-message-using-pageMessages/td-p/82348