Onkar Meherwade
Onkar Meherwade

Reputation: 61

Disabling autofill in html forms

Hello I am facing an issue regarding autofill form in html. I have already used "autofill=off" in my html tag however I am still facing the problem of autofill suggestions. If you guys have any idea how to handle it using html or javascript please let me know.

Upvotes: 0

Views: 63

Answers (3)

Shaurya Shrimal
Shaurya Shrimal

Reputation: 108

Just add the autocomplete attribute to your input tag like this:-

<form>
  <input autocomplete="off">
</form>

Upvotes: 0

ZloiGoroh
ZloiGoroh

Reputation: 431

Try autocomplete="off" on your input or same attribute on the whole <form>

Upvotes: 0

Uchechukwu Nwafor
Uchechukwu Nwafor

Reputation: 435

The attribute is autocomplete='off' not autofill

Upvotes: 1

Related Questions