I have this password change form on my settings page. Now some browsers have built-in functionality that detects this form with which I got issues. On loading settings page Firefox shows old password field already filled that obviously is current password of user logged in and chrome shows old password field empty but as user types in old password chrome asks user password for: john (chrome's auto fill) that is password for any user saved in chrome. I want to disable these functionalities in my script(not in browser). Is that possible ? autocomplete=off
didn't help.
<label>Old Password</label> <input type="password" name="oldpassword" id="oldpassword" placeholder="Old password">
<label>New Password</label> <input type="password" name="newpassword" id="newpassword" placeholder="New password">
<label>Confirm Password</label> <input type="password" name="newpassword2" id="newpassword2" placeholder="Confirm new password">