Turn of autocomplete for all field on a Portal page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2022 04:16 AM
I want to turn off the autocomplete feature present in browsers for all fields in my Service Portal. I have already tried autocomplete="new-password" for the fields and it seems to be working but I'm looking for a one-stop solution to this, such as a client script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2022 06:11 AM
Try using UI script using jQuery which runs on service portal.
Something of this sort should work :
$('input').attr('autocomplete','off');
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2022 04:40 AM
Aman, were you able to achieve this?
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2022 06:19 AM
Hello,
Please check the below article:-
https://community.servicenow.com/community?id=community_blog&sys_id=0fcca265dbd0dbc01dcaf3231f9619b3
Please mark answer correct/helpful as based on Impact