Skip to main content

Disable Form Autocomplete

Duncan from Memberstack
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?

Didn’t find your answer?

Get an instant answer from Rey, or reach a human. Either way, we’re happy to help.

Comments

No comments yet. Start the conversation below.

Please sign in to leave a comment.

Sitemap