Masked variable auto complete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2023 05:01 PM
I used Masked variable in catalog item to get passwords.
But it caused problem.
Chrome auto complete password field and Single line text field that Not id field.
But i can not disable auto complete, so i want way to solve it.
Thanks for you help.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2023 12:34 AM
Hello @Jaeik Lee
Please go through this community post.
It should help you fix the issue:
Prevent auto-complete from inserting incorrect passwords on a form in Chrome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2023 12:36 AM - edited ‎02-15-2023 12:37 AM
Hi @Jaeik Lee ,
If you are using a masked variable in a ServiceNow catalog item to collect passwords, it can cause issues with browser auto-complete functionality. This is because the browser cannot distinguish between the masked variable field and a regular password field.
To resolve this issue, you can try the following options:
Use a non-masked variable: Instead of using a masked variable, you can use a regular text variable to collect passwords. This will allow the browser to recognize the field as a password field and offer to save passwords and/or allow auto-complete.
Add "autocomplete=off" attribute to the field: You can add the "autocomplete=off" attribute to the input field in the catalog item form. This will tell the browser not to auto-complete the field, but note that this may not work in all browsers and versions.
Regards,
Shravan
Please mark as helpful and mark as correct solution if this helps you.
Shravan
Please mark this as helpful and correct answer, if this helps you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2023 12:41 AM
Did you try in other browsers?
I feel it's because of browser and nothing to do with ServiceNow
Also check link shared by Satyaki
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader