Is it possible to compare confirm password textbox\'s text with @Html.PasswordFor(model=>model.Password)?
@Html.PasswordFor(model=>model.Password)
@using (Html.BeginForm()) {
Just tried [Compare("field_to_compare")] and it also works in MVC 5.
[Compare("field_to_compare")]