MVC4 - Unobtrusive validation starting too early
问题 I have a HTML form that uses unobtrusive validation in my website which is an ASP.Net MVC4 application. The form from my view is simple and is shown below @Using (Html.BeginForm()) { @: Listing for @ViewBag.itemNumber @Html.TextBoxFor(model=>model.Name) @Html.TextBoxFor(model=>model.Location) @:<input type="submit" value="Save" /> } My controller is as shown below public ActionResult test() { string itemNumber = Request.params["item"]; ViewBag.itemNumber = itemNumber; return View(); } and my