Disable Form Autocomplete

Article author
Duncan from Memberstack
  • Updated

You can add the attribute → autocomplete="off" to your <form> tag.

Some browsers will ignore this though. A complete breakdown of this attribute can be seen here.

Quick example in code:

<form method="post" autocomplete="off">
<input type="email" id="email" name="email">
<input type="password" id="password" name="password">
<input type="submit">
</form>

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.