
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2019 07:31 PM
Hi all,
In my catalog form I am writing onLoad() client script. When requested for is empty all other fields are hidden but the form shows spaces for those fields. Can anyone please help me how to remove these,
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2019 07:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2019 07:34 PM
If all you're doing is hiding fields, you should really use a UI Policy as opposed to a Client Script.
If you must use a Client Script, try using setDisplay instead of setVisible
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2019 07:36 PM
Use setDisplay() in your script to hide the fields .

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2019 04:19 AM
thanks, it worked!