S
S
Sergey Blokhin2015-05-27 17:29:08
safari
Sergey Blokhin, 2015-05-27 17:29:08

How to disable form autocompletion in Safari on the site side?

If Safari sees <input name="city">, then it will offer to fill in such a field with a value from the contact's personal card.
e17e57c854c2465bae7e3f7fb7f176ec.png
This is good and convenient in most cases, except for the case when a custom value auto-substitution script (suggest) is attached to this field.
fdbbb5997da147d7905c6a6167a10067.png
In this case, an autofill form from Safari is superimposed on top of the list that the site offers.
What are the ways to disable autofill from a contact card?
Safari has been known to hook on the value of the `name` attribute on the `input` tag.
I don't really want a neutral name `name="request"`. Perhaps there is a better solution?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Push Pull, 2015-05-27
@TITnet

One of the options has already been suggested - to change the name.
Another option - div contentEditable="true" can be entered, autocomplete won't work

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question