private bool hasError() { if (!Password.Value.Equals(ConfirmPassword.Value)) { ConfirmPassword.Error = "passwords do not match"; } return(Username.hasErrors() || Password.hasErrors() || ConfirmPassword.hasErrors()); }
private bool hasError() { if (!Password.Value.Equals(ConfirmPassword.Value)) { ConfirmPassword.Error = "passwords do not match"; } return(Username.hasErrors() || Password.hasErrors() || ConfirmPassword.hasErrors()); }