restrict auto complete in input type text code example
Example 1: autocomplete off input
autocomplete="off"
Example 2: disable autocomplete javascript
someForm.setAttribute( "autocomplete", "off" );
someFormElm.setAttribute( "autocomplete", "off" );