Reputation: 15504
I'm testing my website on Google Chrome and saw that this browser always auto-fills my username and password text boxes, even if I never said to do that. I don't want this behavior. Is there any way to stop this using PHP, CSS or JavaScript?
Upvotes: 0
Views: 1628
Reputation: 2324
You can set
<form name="form1" autocomplete="off" action=""></form>
This applies for all form elements
Upvotes: 0
Reputation: 360842
You can specify autocomplete="off"
on the fields you don't want auto-filled, but honoring that is up to the browser and isn't supported everywhere:
<input type="text" name="something" autocomplete="off" />
Upvotes: 3