The field must be a number
问题 I have this field: public decimal Price { get; set; } in Database it is decimal (7,2). View: @Html.EditorFor(model => model.Price, new { htmlAttributes = new { @class = "form-control" } }) If i put a value with comma, MVC default validation doesn't accept, says: "The field must be a number" . (I tried use a Regex, but no way) For example: 5,00, 55,00 or 555,00 Also this: public DateTime date { get;set; } View: @Html.EditorFor(model => model.Date, new { htmlAttributes = new { @class = "form