Hello, I would like to know, how I can disable HTML form input field auto-complete, done by chrome and other majore browsers.
You can have two ways to stop auto-complete of forms input field by:
1. Add autocomplete="off" onto <form> element
<form method="post" action="/form" autocomplete="off"> First name:<input type="text" name="fname"><br> Last name: <input type="text" name="lname"><br> </form>
2. OR you can disable auto complete on a particular form input field
<input type="email" name="email" autocomplete="off">
Any of the above will work and you can use it depending on your requirements.
Subscribe to our weekly Newsletter & Keep getting latest article/questions in your inbox weekly