Issues with fields on catalog item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2025 10:27 PM - edited 11-05-2025 10:29 PM
Hi Experts,
i have a field 'Request Type' on my catalog item , which is a dropdown, based on the request type we are showing and hiding the fields , and for one choice option of request type is udl changes , if i select that it should show me the mandatory and non mandatory fields , but instead on first selection it shows only mandatory fields and then changing other option and if the select udl changes option again then it is showing all the fields which are needs to be shown , i have written ui policy and configured ui policy actions for these , but if i select udl changes option , can let me know how this can be fixed, below i am attaching SS , on first selection it shows mandatory and then selecting again it shows
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2025 01:31 AM
@Ankur Bawiskar
It is bit urgent can u help on this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2025 01:47 AM
logic is simple if you use onChange
1) in onchange client script see what's the newValue
2) if it matches show other fields and make mandatory
3) in the ELSE part do the reverse
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2025 01:54 AM
Thank you for marking my response as helpful.
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader