I have looked through some various answers related to this but all were for mvc3 or not for Razor.
I have a single page that has multiple forms, in partial views, th
Change your helper from EditorFor to TextBoxFor the EditorFor, doesn't have a overload to override html properties
EditorFor
TextBoxFor
Change this
@Html.EditorFor(model => model.Name, new {id = "PersonName"})
To this
@Html.TextBoxFor(model => model.Name, new {id = "PersonName"})