Trying to hide empty variables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2023 08:48 AM
Hi Guys! I am trying to hide the empty variables on my form but it seems like it is working for the variables that are not under/in my Catalog UI Policies. Every variabel that i have under the Catalog UI Policies is not affected. It i can see that they are empty but it is still not working.
I am using the following BR (Picture 1):
I also have Catalog Client script (Picture 2):
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2023 08:56 AM - edited 11-10-2023 08:56 AM
Hi ,
See this, this page has the script and also explains the logic behind it
Toggle Show/Hide Empty Variables | by ServiceNow Scholar | Medium
OR
Hide Empty Variables on a Standard Form - ServiceNow Guru