- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2023 07:34 AM - edited 12-12-2023 07:36 AM
Hi,
Whenever I am using a UI Policy Action to hide a field on the form based on some conditions, when the condition are not meet, I am seeing indentation for the fields on the form.
Need Help!!!!
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2023 09:21 AM
No, unfortunately, you cannot directly deactivate the indentation caused by hiding fields through UI Policies in ServiceNow.
Could you try to achieve the same requirement with the client script? (Hint: you can use the
)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2023 08:16 AM
Hi @mitanshi-mandlo ,
Indentation caused by hiding fields through UI Policies in ServiceNow is a default behavior intended to maintain form structure. Unfortunately, this indentation isn't customizable within UI Policy settings.
Could you please provide more info/screenshots?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2023 08:34 AM
Is there any way to inactivate the indentation?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2023 09:21 AM
No, unfortunately, you cannot directly deactivate the indentation caused by hiding fields through UI Policies in ServiceNow.
Could you try to achieve the same requirement with the client script? (Hint: you can use the
)