Dynamically display a Date field when a specific item is chosen for a RITM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2024 10:56 AM
I set up a new hardware request for a 'loaner laptop' and would like to have an 'estimated return date' field displayed when this item is chosen from the drop down. Can't seem to find out to do this. I tried copying how I dynamically display text based on a drop down choice but that isn't working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2024 11:50 AM
Hi, I think any solution would have some dependency on the type of view involved, form, record producer, portal form. As a simple solution I would have a 'date' field that is visible via UI policy when your choice is not empty and your 'date' field changes or is not empty; and an onChange client script (for the choice field) that calculates the date (either in browser or server side using GlideAjax) then populates the date into your date field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2024 02:47 PM
We've got other stuff setup for dynamically displaying an approver drop down field and I can't figure out how that is working (if it's scripted, that's probably why). I will open a support case to at least figure that out.