Answers for "password and confirm password validation in razor"

C#
0

razor confirm password validation

public class RegisterViewModel
{
    [Required]
    public string Username { get; set; }

    [Required]
    public string Password { get; set; }

    [Compare("Password", ErrorMessage = "Confirm password doesn't match, Type again !")]
    public string ConfirmPassword { get; set; }
}
Posted by: Guest on December-11-2020

Code answers related to "password and confirm password validation in razor"

C# Answers by Framework

Browse Popular Code Answers by Language