Skip to content Skip to sidebar Skip to footer

Disable Autofill In Html

I'm trying to disable autocomplete in two password fields but i couldn't do it. It worked fine with the 'autocomplete = off' on textboxes but it didn,t work on password fields. Tha

Solution 1:

You can try this.

  1. Use a tag for the all html elements as a root. And use autocomplete="off" onto that tag.

  2. Then add hidden with autocomplete="false" as a first children element of the form.

If this is not working, feel free to ask for that.

Look for a example : https://gist.github.com/niksumeiko/360164708c3b326bd1c8

Post a Comment for "Disable Autofill In Html"