Html Chrome浏览器保存表单输入-使用了哪些名称/ID,为什么只保存了一些?
我在我的网站上有一个页面,有两个表单,一个用于登录,一个用于注册Html Chrome浏览器保存表单输入-使用了哪些名称/ID,为什么只保存了一些?,html,browser,cross-browser,Html,Browser,Cross Browser,我在我的网站上有一个页面,有两个表单,一个用于登录,一个用于注册 LOG IN- <form name="login" id="login" method="post" action="php/login.php"> Email: <input id="email" name="email" type="text"> Password:<input id="password" name="password" type="pa
LOG IN-
<form name="login" id="login" method="post" action="php/login.php">
Email: <input id="email" name="email" type="text">
Password:<input id="password" name="password" type="password">
</form>
REGISTER-
<form id="register" name="register" method="post" action="php/register.php">
Email: <input id="r_email" name="r_email" type="text">
Confirm Email: <input id="r_email_confirm" name="r_email_confirm" type="text">
Password: <input id="r_password" name="r_password" type="password">
Confirm Password:<input id="r_password_confirm" name="r_password_confirm" type="password">
</form>
当我测试它时,Chrome正在保存登录表单的电子邮件和密码id电子邮件和密码,以及注册表单的确认电子邮件和密码id r\u电子邮件\u确认和r\u密码
你知道为什么要保存这些值吗?这似乎是Chrome的一个问题: 建议使用
<form autocomplete="off"...
暂时来说,这有点烦人。旁白:使用type=email作为电子邮件字段。刚刚阅读过它,现在将更改它。非常感谢。