client side validation in mvc c# code example
Example: asp.net core mvc not triggering client side validation
//in the view:
@section Scripts{
@Html.Partial("_ValidationScriptsPartial");
}
//in the view:
@section Scripts{
@Html.Partial("_ValidationScriptsPartial");
}