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.
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.
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.
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"
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.
How can we improve the answer?
Send feedbackThank you!
Thank you! We will do our best to make this answer better.
An error has occurred. We apologize for the inconvenience. Please try again.