- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Friday
I am wanting to hide "is it a travel laptop" until "Yes" is selected in "Is this a laptop". How do I hide the field unless the condition is met?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Friday
Use a UI Policy. It handles this automatically without code.
Create New: Go to UI Policies and click New.
Table / Catalog Item: Select the table or catalog item where your fields live.
Short description: Show Travel Laptop field if Laptop is Yes.
Set Condition: Under When to Apply, set: Is this a laptop is Yes.
Save: Right-click the header and click Save.
Add Action: Scroll down to the UI Policy Actions related list and click New.
Set Action:
Field name: Is it a travel laptop
Visible: True
Submit.
ServiceNow will automatically hide the field if the answer is anything other than "Yes".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Friday
Use a UI Policy. It handles this automatically without code.
Create New: Go to UI Policies and click New.
Table / Catalog Item: Select the table or catalog item where your fields live.
Short description: Show Travel Laptop field if Laptop is Yes.
Set Condition: Under When to Apply, set: Is this a laptop is Yes.
Save: Right-click the header and click Save.
Add Action: Scroll down to the UI Policy Actions related list and click New.
Set Action:
Field name: Is it a travel laptop
Visible: True
Submit.
ServiceNow will automatically hide the field if the answer is anything other than "Yes".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Friday
This is exactly what I needed. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Friday
this is a simple requirement which you can achieve with either UI policy or onChange client script
where are you stuck?
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader