-1
<div class="col-sm-12 input-group">
@using (Html.BeginForm("_BookTime", "Home", FormMethod.Post))
{
<div class="col-sm-12 FromFields">
<b>Fulde navn:</b>
@Html.TextBoxFor(m => m.Name, new { @class = "form-control", @required = true })
</div>
<div class="col-sm-12 FromFields">
<b>Telefon:</b>
@Html.TextBoxFor(m => m.Phone, new { @class = "form-control", @required = true, @type = "number" })
</div>
<div class="col-sm-12 FromFields">
<b>Email:</b>
@Html.TextBoxFor(m => m.Email, new { @class = "form-control", @required = true })
</div>
<div class="col-sm-12 FromFields">
<b>Post NR:</b>
@Html.TextBoxFor(m => m.Zip, new { @class = "form-control", @required = true, @type = "number" })
</div>
<div class="col-sm-12 FromFields">
<b>By:</b>
@Html.TextBoxFor(m => m.City, new { @class = "form-control", @required = true })
</div>
<div class="col-sm-12 FromFields">
<b>Addresse:</b>
@Html.TextBoxFor(m => m.Address, new { @class = "form-control", @required = true })
</div>
<div class="col-sm-12 FromFields">
<b>Vælg pakke</b>
<select class="form-control" name="Package" required>
@Html.Action("_PackageList", "home")
</select>
</div>
<hr />
<button id="SendBtn" class="btn btn-success">Send</button>
}
爲什麼不會谷歌瀏覽器自動完成下面的公式?我試圖給他們一個名字,那也不是行不通的,所以我做錯了什麼?通常這是自動完成的,我從來沒有做過任何表格使得谷歌鉻爲我做。我能做什麼?由於
嘗試添加'自動完成「的」'屬性添加
autocomplete="off"
=你的表單元素。 – leDominatre