相关疑难解决方法(0)

浏览器如何确定哪些表单字段是用户名/密码?

现代浏览器保存密码.哪个标准会影响这个决定?

背景:

我有一个注册页面,其中包含以下表格:

    <form action="/BlaBla/Account/Register" method="post">
    <div>
        <fieldset>
            <legend>Account Information</legend>
            <p>
                <label for="username">
                    Username:</label>
                <input id="username" name="username" type="text" value="" />
            </p>
            <p>
                <label for="email">
                    Email:</label>
                <input id="email" name="email" type="text" value="" />
            </p>
            <p>
                <label for="invitationCode">
                    Invitation Code:</label>
                <input id="invitationCode" name="invitationCode" type="text" value="" />
            </p>
            <p>
                <label for="securityQuestion">
                    Security question:</label>
                <input id="securityQuestion" name="securityQuestion" type="text" value="" />
            </p>
            <p>
                <label for="securityAnswer">
                    Security answer:</label>
                <input id="securityAnswer" name="securityAnswer" type="text" value="" />
            </p>
            <p>
                <label for="password">
                    Password:</label>
                <input id="password" name="password" type="password" />
            </p>
            <p>
                <label …
Run Code Online (Sandbox Code Playgroud)

browser forms passwords username

8
推荐指数
1
解决办法
1034
查看次数

标签 统计

browser ×1

forms ×1

passwords ×1

username ×1