我有一个HTML表单,并且在Android上,软键盘显示的是“下一步”按钮,而不是转到/提交/返回。有没有一种方法可以更改行为,以使键盘从不显示“下一步”按钮?
<form id="searchForm" asp-controller="Home" asp-action="Index" method="post" class="form">
<div asp-validation-summary="All" class="text-danger offset-4 col-md-6 text-left"></div>
<div class="form-group col-md-6 offset-md-3">
<label asp-for="SearchCriteria.LastName" class="text-left float-left"></label>
<input id="lastNameInput" asp-for="SearchCriteria.LastName" class="form-control" />
<span asp-validation-for="SearchCriteria.LastName" class="text-danger"></span>
</div>
<div class="form-group col-md-6 offset-md-3">
<label asp-for="SearchCriteria.FirstName" class="text-left float-left"></label>
<input id="firstNameInput" asp-for="SearchCriteria.FirstName" class="form-control" />
<span asp-validation-for="SearchCriteria.FirstName" class="text-danger"></span>
</div>
<div class="form-group col-md-6 offset-md-3 mt-4">
<input class="btn btn-primary btn-block" type="submit" value="Search" />
</div>
</form>