0
Q:

how to make html input not autofill

<form method="post" action="/post/" autocomplete="off">
	<!-- The entire form has autocomplete disabled. -->
</form>

<!-- or you turn it off for just one input -->
<input type="text" autocomplete="off">
14
<input type="text" autocomplete="off" />
5
<form method="post" action="/form" autocomplete="off">
[…]
</form>
3
someForm.setAttribute( "autocomplete", "off" ); 
someFormElm.setAttribute( "autocomplete", "off" );
6

New to Communities?

Join the community