问题描述
我有一个带有结帐页面的网站,该页面一直运行良好.
最近,任何使用自动填充填写信息的客户都会将其电子邮件地址转储到公司字段中.我们所做的任何更改都不会影响它.我可以使用哪些其他工具来深入了解这个问题?
I have a site with a checkout page that has always worked beautifully.
Recently, any customer that uses autofill to fill out his info, gets his email address dumped into the company field.There are no changes that we did that could affect that.What other tools can I use to get to the bottom of this?
推荐答案
我们仍然不知道是什么导致了这个问题,但是对于看到这个问题的任何人,我们最终将字段设为 readonly
以便自动-fill 不填充它.然后我们写了一些 JS,在焦点上,它变得活跃,用户可以手动填写.
We still don't know what caused the issue, but for anyone seeing this we ended up making the field readonly
so that auto-fill doesn't fill it. We then wrote some JS that on focus, it becomes active and the user can manually fill it in.
<input type="text" name="company" readonly="" onfocus="this.removeAttribute('readonly');">
这篇关于自动填充填充错误的字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!