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">

Was this article helpful?



Please sign in to leave a comment.