Allow users to override the generated data attributes with their own eg @Html.TextBoxFor(x => x.SimpleErrorMessage, true, htmlAttributes: new { data_rule_remote = "{\"url\":\"/Demo/RemoteSimple\",\"serializeSelector\":\"form\"}" })