Contactless Connect

How can I prevent Sticky Password from showing its icon in a specific web field?

Sticky Password detects login, password, and other autofill-related fields on websites so it can help users fill their saved data quickly. In some cases, a website may contain fields that look similar to autofill fields but are not related to credentials, such as quantity fields, internal reference fields, search fields, or checkout-specific inputs.

If you are a website developer and want Sticky Password to ignore a specific field, you can add the following attribute to the input:

data-spignore="true"

Example:

<input type="number" name="quantity" data-spignore="true">

When this attribute is present, Sticky Password will not show its icon for that field and will not treat the field as an autofill candidate.

Ignore an entire form

You can also add the attribute to a form to tell Sticky Password to ignore all fields inside that form:

<form data-spignore="true">
  <input type="text" name="internal_reference">
  <input type="number" name="quantity">
</form>

This is useful for forms that are clearly not related to login, registration, password change, payment, or personal data autofill.

When should I use this attribute?

Use data-spignore="true" only for fields where Sticky Password should not offer autofill.

Good examples:

<input type="number" name="quantity" data-spignore="true">
<input type="text" name="coupon_note" data-spignore="true">
<input type="text" name="internal_order_id" data-spignore="true">
<input type="search" name="product_search" data-spignore="true">

Avoid using it on real login, password, registration, or account fields, because doing so may prevent Sticky Password users from filling their saved credentials.

Does autocomplete="off" disable Sticky Password autofill?

No, autocomplete="off" should not be used as the main way to disable Sticky Password autofill.

Some login and password fields use autocomplete="off", but users may still expect their password manager to work there. For this reason, Sticky Password uses its own explicit opt-out attribute:

data-spignore="true"

Summary

To prevent Sticky Password from detecting or showing its icon in a specific field, add:

data-spignore="true"

To ignore a whole form, add the same attribute to the <form> element.

Cette réponse vous a-t-elle été utile ?

Oui Non

Comment pourrions-nous améliorer notre réponse ?

Envoyer un commentaire

Merci !

Merci ! Nous ferons de notre mieux pour améliorer cette réponse.

Une erreur s'est produite. Nous nous excusons pour les inconvénients. Veuillez réessayer.

Merci. Nous venons de recevoir votre message.

Notre temps de réponse les jours ouvrés est généralement inférieur à 24 heures.
Toutefois, il arrive parfois que les volumes de trafic prolongent légèrement ce délai.

Nous répondrons à votre billet à l'adresse que vous avez indiquée :