How to show Custom URL along with a custom error message

Hello

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.


Thanks

Hi nikhil

This is actually pretty simple and solved with a few lines of javascript.
All you need to know about how to do that is stated here.

Cheers