i have user registration form. form contains username , password field. @ time of user registration username , password fields automatically populated values.
i have used form "autocomplete" attribute, not working on chrome browser.
this code,
<form method="post" action="" autocomplete="off"> <input type="text" id="first_name" name="first_name"> <input type="text" id="last_name" name="last_name"> <input type="text" id="username_name" name="username_name"> <input type="text" id="password" name="password">
in experience, chrome autocompletes first <input type="password">
, previous . added:
<input style="display:none"> <input type="password" style="display:none">
to top of <form>
, case resolved.
Comments
Post a Comment