Please help me in this scenario.
I want to show to custom URL along with the custom error message.
Suppose a condition that while creating new record if user enters a duplicate email id then a Custom Error message get appears.
Now I want to add a custom URL with that Error message .So that user can click on that URL and get redirected to some other page.
All you need to know about how to do that is stated here.