I have an MVC appilcation with a model which uses the [Required] attibute for a field. When the validation for this attribute fails, I would like to show a hyperlink in the error message.
When I add <a href="link">link</a>, the text of the link is displayed as is in the error message. How can I show a link in the error message which is displayed using the Html.ValidationMesssageFor(model=>model.attibute)?
I am using the Razor view engine.
Can we add any style to error message in order to show the hyperlink.