Jochen
Jochen

Reputation: 1776

HTML - prevent auto-fill or auto-completion of fields (FF, IE, IPad)

in Firefox-preferences you can select if passwords should be stored and if fields should be auto-filled. If I visit the site of my bank I wondered how it is handled that I won't be asked if I want to store password or username!?

Which markup is necessary to prevent auto-fill or auto-complete in webforms? Thanks in advance.

Upvotes: 2

Views: 1151

Answers (2)

vikingben
vikingben

Reputation: 1652

I'm adding this bit for a different point of view. Why not honeypot it stop chrome from botting your fields. It appears to work cross browser for me. Worth a shot.

http://benjaminjshore.info/2014/05/chrome-auto-fill-honey-pot-hack.html

Upvotes: 0

Andreas Wong
Andreas Wong

Reputation: 60584

<form autocomplete="off">

Doesn't work on ff3 though, as far as I remember

https://developer.mozilla.org/en/How_to_Turn_Off_Form_Autocompletion

Upvotes: 4

Related Questions