html - Disable credit card autofill on Mac Safari -


i'm developing simple point-of-sale web app, , part of there credit card field. field entering customer's credit card, , therefore number should neither

a) saved browser, or

b) or loaded local computer.

the app used reps enter credit card info on behalf of customer ringing up.

i can tell them not save card best disable feature. i've seen number of posts seems either outdated or different use cases.

this html field -

<input autocomplete="off" class="form-control" id="creditcard" placeholder="credit card number" type="text"> 

you can use autocomplete attribute , set value off .. this:

<input type="text" id="creditcard" autocomplete="off" /> 

Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -