IbrahimMitko
IbrahimMitko

Reputation: 1207

Turn off autocomplete in FireFox

I have a login that remembers the users username and password. How do you disable the autofill function for the password? Using autocomplete="off" works fine in IE but not in Firefox.

<td><input  type="password" name="pass" redisplay="false" autocomplete="off" /></td>

I know FireFox has begun ignoring this attribute after FF 30. Is there a work around to disable it in the HTML form?

Upvotes: 1

Views: 1710

Answers (1)

IbrahimMitko
IbrahimMitko

Reputation: 1207

put a hidden empty text field between username and password

<input type="text" name="username">
<!-- disables autocomplete --><input type="text" style="display:none">
<input type="password" name="password"> 

Upvotes: 5

Related Questions