Disable autofill on a web form through HTML or JavaScript?
You can do it at the input level in HTML by adding autocomplete=”off” to the input. Turn Off Autocomplete for Input You could also do it via JS such as: someForm.setAttribute( “autocomplete”, “off” ); someFormElm.setAttribute( “autocomplete”, “off” );