vendredi 29 janvier 2016

MVC validation only border highlight without text error message

Hello I would like to only highlight the border of the text box without any error message near it, I have tried the following

    [Required(ErrorMessage = "")]
    [Display(Name = "Email")]
    public string Email { get; set; }

Before 1

After 2

Aucun commentaire:

Enregistrer un commentaire