Going through Pen Test and it was asked of us to disable auto complete in our CC payment fields.

We tried adding autocomplete=off and also tried false on the input filed. A ny suggestions to override this 'feature' in IE11 and other browser specific extensions?

  • are you sure that it's the browser filling in the values and not a plugin (LastPass, etc.)? – schroeder Mar 3 '15 at 23:15
  • 2
    Is the field type text, or password? – Xander Mar 3 '15 at 23:20
  • @sara please add some more details, is possible add the html snippet of the changes you made as that can be relevant to providing an answer. – Eric G Mar 4 '15 at 3:30
  • As of Chrome 34, the Chrome browser will ignore the autocomplete=off directive: theregister.co.uk/2014/04/09/… – Eric G Mar 4 '15 at 3:33

It is true that most major browsers now ignore the autocomplete value if set in the web application. However, IE11 only ignores this setting on password fields, it should still honour the autocomplete setting on CC fields. As Xander suggested, it could be worth checking the input type for your CC payment field.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.