html input prevent autofill code example
Example 1: disable browser autocomplete
<form method="post" action="/form" autocomplete="off">
[…]
</form>
Example 2: disable autocomplete javascript
someForm.setAttribute( "autocomplete", "off" );
someFormElm.setAttribute( "autocomplete", "off" );