I have a web form asking for a credit card number. How can I prevent the browser from saving this information?
I see people proposing to use the autocomplete="off"
feature.
Which web browsers do implement this feature?
For which versions of those browsers?
I am looking for a trustful public article with this answer, so that I can rely my decision on it.
Also, is there a standard javascript snippet to implement this feature in case the browser does not support it?
note: before marking this question as duplicate, please note that I did not find the answer in those stackoverflow's questions: Is there a W3C valid way to disable autocomplete in a HTML form? , How to prevent the credit-card number field being cached by the browser , https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion , http://msdn.microsoft.com/en-us/library/ms533032%28VS.85%29.aspx