我有一个非常详细且非常长/大的普通html搜索输入表单,包括关键词文本输入、价格范围最小/最大以及许多其他搜索条件。
提交按钮存在,但它在表单的末尾。
<form action="http://..." method="get" class="some-class" onsubmit="">
<fieldset class="box options">
<input type="text" name="pattern" id="pattern" placeholder="pattern" value="" />
<input type="text" id="city" name="city" placeholder="city" value="" />
<input type="text" id="region" name="region" placeholder="region" value="" />
<input type="text" id="country" name="country" placeholder="country" value="" />
<input type="text" id="price-min" name="price-min" placeholder="min" value="" />
<input type="text" id="price-max" name="price-max" placeholder="max" value="" />
(etc...)
<button id="search-submit" type="submit">SUBMIT</button>
</fieldset>
</form>
现在,我的问题完全相反于我在这里的问题/问题和搜索周围看到的。大多数人都试图实际获得“下一步”而不是“转到”,但我需要相反(或旧)行为。在每个文本输入字段上方“内部”(聚焦)时,我想看到好老的简单的“转到”,而不是新的“下一步”。
为什么?因为这些输入不依赖于数据,表单中的每个输入都可以单独提供。
这可能是Chrome Android浏览器(当前测试最新的Chrome App for Android 62.0.3202.84)和其他几个浏览器/移动操作系统应用程序中的相对较新的更改。但是,以前不是这样的,那是肯定的。
我希望我们有一种方法来停止这种行为,并手动指示移动浏览器或虚拟键盘它们应该如何行事,因为在庞大的搜索过滤表单中有“下一步”真的很烦人,其中某人只想填写第一个或几个初始输入,如关键字并按“Go”,因为在长表单中提交按钮全部都在下面。
有没有人有任何想法如何解决这个问题,而不重新发明整个表格?
谢谢