How to hide empty catalog variables on service catalog form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2024 08:21 AM
Hello experts,
I have a requirement to hide any variables that does not have a value while the user is on the form.
If a person is ordering parts and they have 2 quantity types. The end user fills in one of the quantity single text variables and leave the other empty. The empty field disappears. I can do this in ui policy with 2 quantity options but with more than 2 quantity options on the form, the boxes are not hiding as expected. What is the best way to get this to work? Or how can I write this in a script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2024 09:21 AM
Hi @Rhonda9 ,
It will work by using the UI policy and I have tried in my PDI with 4 quantity variables. It is working fine as Expected .
Could you please send me the conditions how you are configuring in UI policies
Thanks and Regards
Sai Venkatesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2024 09:26 AM
This is what I have. There is a ui policy for each quantity variable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2024 09:31 AM
Hi @Rhonda9 ,
Attached is the image and you can try by following the same pattern
Thanks and Regards
Sai Venkatesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2024 09:33 AM
Okay, I will give it a try and get back with you