Clear form field cache

I want to clear the text field cache. Suppose you are logged in to gmail again, if you run sigout and log in, testbox for Username will show the intellisense type. How to stop this?

+3
source share
3 answers
<input type="text" name="ac" autocomplete="off" />

Source: http://www.w3.org/Submission/web-forms2/

+6
source

You must set the AutoCompleteType property to Disabled.

Learn more about this msdn page .

+1
source

You can set the attribute 'autocomplete = "off"' in the form tag, as shown below:

<form name="login_form" id ="id_login_form" method="post" action="LoginServlet" autocomplete="off">
0
source

Source: https://habr.com/ru/post/1716674/


All Articles